model_validate_strings#
- classmethod PottingRegion.model_validate_strings(obj, *, strict=None, context=None, by_alias=None, by_name=None)#
Validate the given object with string data against the Pydantic model.
- Parameters:
obj (
Any
) – The object containing string data to validate.context (
Any
|None
) – Extra variables to pass to the validator.by_alias (
bool
|None
) – Whether to use the field’s alias when validating against the provided input data.by_name (
bool
|None
) – Whether to use the field’s name when validating against the provided input data.
- Return type:
Self
- Returns:
The validated Pydantic model.