build_validator_steps
No overview available.
def build_validator_steps(
config: dict,
strict_mode: boolean = false
) - > list
Constructs a sequence of validation steps based on the provided configuration to ensure data integrity.
Parameters
| Name | Type | Description |
|---|---|---|
| config | dict | A dictionary containing validation rules and constraints used to initialize each validator step. |
| strict_mode | boolean = false | When enabled, configures validators to raise exceptions on minor schema deviations instead of attempting coercion. |
Returns
| Type | Description |
|---|---|
list | A list of validator objects or functions that will be executed in sequence during the validation process. |