HSGPBase.model_validate_strings#

classmethod HSGPBase.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.

Args:

obj: The object containing string data to validate. strict: Whether to enforce types strictly. context: Extra variables to pass to the validator. by_alias: Whether to use the field’s alias when validating against the provided input data. by_name: Whether to use the field’s name when validating against the provided input data.

Returns:

The validated Pydantic model.