from ..base import Base, Property
from ..tracker import Tracker
from ..metricgenerator import MetricGenerator
[docs]
class Writer(Base):
"""Writer base class"""
[docs]
class MetricsWriter(Writer):
"""Metrics Writer base class.
Writes out metrics to some form of storage for analysis.
"""
metric_generator: MetricGenerator = Property(doc="Source of metric to be written out")
[docs]
class TrackWriter(Writer):
"""Track Writer base class.
Writes out tracks to some form of storage for analysis.
"""
tracker: Tracker = Property(doc="Source of tracks to be written out")