geolib.models.base_model_structure

Classes

BaseModelStructure(**data)

class geolib.models.base_model_structure.BaseModelStructure(**data)
Parameters:

data (Any)

property is_valid: bool

Validates the current model structure.

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

validator()

Set the Validator class.

Return type:

BaseValidator