You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"tags": {
"type": "array",
"items": {
"type": "string""type": "string",
"maxLength": 25,
"description": "Items in this array are applied with OR filters. To apply AND filter, put all tags in the same string and separate using && characters"
}
}
So the constraints of the array must be provided using constr. The issue comes that for today we describe constraints only using Field(). Found in #503
Example lexicon:
Actual behavior:
Expected behavior:
So the constraints of the array must be provided using
constr
. The issue comes that for today we describe constraints only usingField()
. Found in #503More about
constr
: https://docs.pydantic.dev/1.10/usage/types/#arguments-to-constrThat's how we do it today for non-inner type:
The text was updated successfully, but these errors were encountered: