Settings.model_validate_strings

classmethod Settings.model_validate_strings(obj, *, strict=None, context=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.

Returns:

The validated Pydantic model.