controller.utilities.configuration.CoreConfigurationModel.model_validate_strings

classmethod CoreConfigurationModel.model_validate_strings(obj, *, strict=None, context=None)

Validate the given object contains string data against the Pydantic model.

Parameters:
  • obj (Any) – The object contains string data to validate.

  • strict (bool | None, default: None) – Whether to enforce types strictly.

  • context (dict[str, Any] | None, default: None) – Extra variables to pass to the validator.

Return type:

TypeVar(Model, bound= BaseModel)

Returns:

The validated Pydantic model.