contentctl icon indicating copy to clipboard operation
contentctl copied to clipboard

Remove Use of Deprecated @validator

Open pyth0n1c opened this issue 6 months ago • 0 comments

We still have some use of the @validator decorator in our Pydantic Objects. This is deprecated in Pydantic2+, so we should look at removing it in favor of @field_validator or @model_validator, or the improved constraints on the Type decalrations in Field or Annotated

pyth0n1c avatar Aug 08 '24 20:08 pyth0n1c