weather_provider_api.routers.weather.base_models package¶
Submodules¶
weather_provider_api.routers.weather.base_models.model module¶
weather_provider_api.routers.weather.base_models.source module¶
- class WeatherSourceBase¶
Bases:
object
Base class that contains the basic functionality for all sources. Any new sources should implement this as their base class!
- property async_models¶
- get_model(model_id, fetch_async=False)¶
- get_models(fetch_async=False)¶
- property models¶
- setup_models(model_instances)¶