LowerMetadata#
- class caf.space.metadata.LowerMetadata(*, translations)[source]#
Bases:
BaseConfigStore metadata for all translations between two zones.
Every time a translation is run between two zones info about that translation should be added to an instance of this class saved as ‘metadata.yml’.
- Parameters:
translations (A list of SpatialTransLog classes for all translations)
systems. (for a given pair of zone)
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 = {'translations': FieldInfo(annotation=list[SpatialTransLog], 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.
- translations: list[SpatialTransLog][source]#