19 lines
449 B
Python
19 lines
449 B
Python
from app.repositories.directus.base import DirectusCollectionRepository
|
|
|
|
|
|
class ExperimentRepository(DirectusCollectionRepository):
|
|
"""Directus-backed repository for experiment content records."""
|
|
|
|
collection_name = "experiments"
|
|
default_fields = [
|
|
"id",
|
|
"site_id",
|
|
"experiment_key",
|
|
"name",
|
|
"module_type",
|
|
"status",
|
|
"start_at",
|
|
"end_at",
|
|
"targeting_config",
|
|
]
|