flexmeasures.data.schemas.locations
Classes
- class flexmeasures.data.schemas.locations.LatitudeField(*args, **kwargs)
Field that deserializes to a latitude float with max 7 decimal places.
- __init__(*args, **kwargs)
- class flexmeasures.data.schemas.locations.LatitudeLongitudeValidator(*, error: str | None = None)
Validator which succeeds if the value passed has at most 7 decimal places.
- class flexmeasures.data.schemas.locations.LatitudeValidator(*, error: str | None = None, allow_none: bool = False)
Validator which succeeds if the value passed is in the range [-90, 90].