This commit is contained in:
2026-03-27 07:20:27 -03:00
parent 51ce14a812
commit a3b51c458d
10 changed files with 653 additions and 67 deletions

View File

@@ -81,8 +81,6 @@ __all__ = [
"Job",
"Timeline",
"Checkpoint",
"KnownBrand",
"SourceBrandSighting",
# Enums
"AssetStatus",
"JobStatus",

View File

@@ -48,6 +48,11 @@ class StageDefinition:
io: StageIO = field(default_factory=StageIO)
config_fields: List[StageConfigField] = field(default_factory=list)
# The box label this stage produces that should be time-tracked in the editor.
# Set to the label string (e.g. "edge_region") for stages that have a
# meaningful temporal element. None means no motion tracker overlay.
tracks_element: Optional[str] = None
# Legacy fields — used by old registry pattern during migration.
# New stages use Stage subclass instead.
fn: Any = None

View File

@@ -1,9 +1,8 @@
"""
Model serializers — one module per model group, mirroring core/schema/models/.
models/detect_pipeline.py → serializers/detect_pipeline.py
models/detect_jobs.py → serializers/detect_jobs.py
models/detect.py → serializers/detect.py (SSE events)
models/pipeline.py → serializers/pipeline.py
models/detect.py → serializers/detect.py (SSE events)
Common utilities in _common.py.
"""