Metobs models
smhi.models.metobs_model
MetobsBaseModel
Bases: BaseModel
Source code in smhi/models/metobs_model.py
parse_datetime(x)
classmethod
Pydantic V2 treats timestamps differently depending on value.
Source code in smhi/models/metobs_model.py
MetobsCategoryModel
MetobsDataModel
Bases: BaseModel
Data model.
Source code in smhi/models/metobs_model.py
MetobsLinks
Bases: BaseModel
Source code in smhi/models/metobs_model.py
parse_datetime(x)
classmethod
Pydantic V2 treats timestamps differently depending on value.
Source code in smhi/models/metobs_model.py
MetobsParameterModel
Bases: MetobsBaseModel
Model used for stations.
Source code in smhi/models/metobs_model.py
MetobsPeriodModel
MetobsPosition
Bases: BaseModel
Source code in smhi/models/metobs_model.py
parse_datetime(x)
classmethod
Pydantic V2 treats timestamps differently depending on value.
Source code in smhi/models/metobs_model.py
MetobsStationLink
Bases: MetobsLinks
Source code in smhi/models/metobs_model.py
parse_datetime(x)
classmethod
Pydantic V2 treats timestamps differently depending on value.
Source code in smhi/models/metobs_model.py
MetobsStationModel
Bases: MetobsBaseModel
Model used for periods.
Source code in smhi/models/metobs_model.py
MetobsVersionModel
Bases: MetobsBaseModel
Model used for parameters.