SpatialTransLog#
- class caf.space.metadata.SpatialTransLog(*, zone_shapefile, lower_shapefile, date)[source]#
Bases:
BaseConfigOutput log of a spatial translation.
Mainly used for the lower translations used in weighted translations.
- Parameters:
zone_shapefile (Path to the primary zone shapefile used in the)
to. (this metadata corresponds)
lower_shapefile (Path to the lower shapefile used in the translation)
to.
date (The date this translation took place.)
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Get extra fields set during validation.
Returns the set of fields that have been explicitly set on this model instance.
Methods
Attributes Documentation
- model_computed_fields = {}#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_extra#
Get extra fields set during validation.
- Returns:
A dictionary of extra fields, or None if config.extra is not set to “allow”.
- model_fields = {'date': FieldInfo(annotation=datetime, required=True), 'lower_shapefile': FieldInfo(annotation=Path, required=True), 'zone_shapefile': FieldInfo(annotation=Path, required=True)}#
- model_fields_set#
Returns the set of fields that have been explicitly set on this model instance.
- Returns:
- A set of strings representing the fields that have been set,
i.e. that were not filled from defaults.