Files
bakery-ia/services/external/app/models/__init__.py

35 lines
715 B
Python
Raw Normal View History

2025-10-01 11:24:06 +02:00
"""
External Service Models Package
Import all models to ensure they are registered with SQLAlchemy Base.
"""
# Import all models to register them with the Base metadata
from .traffic import (
TrafficData,
TrafficMeasurementPoint,
TrafficDataBackgroundJob,
)
from .weather import (
WeatherData,
WeatherForecast,
)
from .city_weather import CityWeatherData
from .city_traffic import CityTrafficData
2025-10-01 11:24:06 +02:00
# List all models for easier access
__all__ = [
# Traffic models
"TrafficData",
"TrafficMeasurementPoint",
"TrafficDataBackgroundJob",
# Weather models
"WeatherData",
"WeatherForecast",
# City-based models (new)
"CityWeatherData",
"CityTrafficData",
2025-10-01 11:24:06 +02:00
]