model_validate
model_validate(model)Check a model’s data and parameters and report anything that would stop it being fit.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| model | Model | The model to validate. | required |
Returns
| Name | Type | Description |
|---|---|---|
| dict | is_valid (bool) and messages (list of str, empty when valid). |