rs_server_common/rspy_models.md¶
Module used to overwrite stac_pydantic with RSPY types.
Item
¶
ItemCollection
¶
Bases: FeatureCollection, StacBaseModel
Custom implementation of stac_pydantic.ItemCollection.
Source code in docs/rs-server/services/common/rs_server_common/rspy_models.py
ItemProperties
¶
Bases: WrapStacCommonMetadata
Custom implementation of stac_pydantic.ItemProperties
Source code in docs/rs-server/services/common/rs_server_common/rspy_models.py
__init__(**data)
¶
Force convert datetime to str if any in init.
Source code in docs/rs-server/services/common/rs_server_common/rspy_models.py
WrapStacCommonMetadata
¶
Bases: StacCommonMetadata
Custom implementation of pydantic.StacCommonMetadata Overload stac_pydantic datetime-like objects from item properties to use a string with custom format. Datetime only use microseconds ".512000Z", so this model is updated to store a more flexible date type.