We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I upgraded from 0.26.1 to 0.26.2 and am now getting a maximum recursion depth exceeded.
To Reproduce
Schema (snippet):
"NullableArticle": { "properties": { "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" }, "date_published": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "string", "format": "date" }, { "type": "null" } ], "title": "Date Published" } }, "type": "object", "title": "NullableArticle" },
Previous output:
class NullableArticle(BaseModel): title: Optional[str] = Field(None, title="Title") date_published: Optional[Union[AwareDatetime, date]] = Field( None, title="Date Published" )
New output:
class NullableArticle(BaseModel): title: Optional[str] = Field(None, title="Title") date_published: Optional[Union[datetime, date]] = Field( None, title="Date Published" )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I upgraded from 0.26.1 to 0.26.2 and am now getting a maximum recursion depth exceeded.
To Reproduce
Schema (snippet):
Previous output:
New output:
The text was updated successfully, but these errors were encountered: