|
uuid: str = Field(..., max_length=100) # TODO make this UUID and deprecate string |
Attributes:
position: Tuple of (latitude, longitude) coordinates
uuid: Unique identifier for the location
remark: Optional remark text for the location
"""
position: tuple[Latitude, Longitude]
uuid: str = Field(..., max_length=100) # TODO make this UUID and deprecate string
remark: str | None = None
@model_validator(mode="before")
@classmethod
goodmap/goodmap/data_models/location.py
Line 32 in 612054c