model_validate_strings

classmethod PreProcessingPipeline.model_validate_strings(obj: Any, *, strict: bool | None = None, context: Any | None = None) Self

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.