Files

34 lines
773 B
Python
Raw Permalink Normal View History

2025-09-30 13:32:51 +02:00
"""
Training Service Models Package
Import all models to ensure they are registered with SQLAlchemy Base.
"""
# Import AuditLog model for this service
from shared.security import create_audit_log_model
from shared.database.base import Base
# Create audit log model for this service
AuditLog = create_audit_log_model(Base)
2025-09-30 13:32:51 +02:00
# Import all models to register them with the Base metadata
from .training import (
TrainedModel,
ModelTrainingLog,
ModelPerformanceMetric,
TrainingJobQueue,
ModelArtifact,
2025-11-05 13:34:56 +01:00
TrainingPerformanceMetrics,
2025-09-30 13:32:51 +02:00
)
# List all models for easier access
__all__ = [
"TrainedModel",
"ModelTrainingLog",
"ModelPerformanceMetric",
"TrainingJobQueue",
"ModelArtifact",
2025-11-05 13:34:56 +01:00
"TrainingPerformanceMetrics",
"AuditLog",
2025-09-30 13:32:51 +02:00
]