(cls, v)
| 136 | @field_validator("max_length") |
| 137 | @classmethod |
| 138 | def max_positive(cls, v): |
| 139 | if v is not None and v <= 0: |
| 140 | raise ValueError("max_length must be positive") |
| 141 | return v |
| 142 | |
| 143 | @model_validator(mode="after") |
| 144 | def min_lt_max(self): |
nothing calls this directly
no outgoing calls
no test coverage detected