-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fix ZoneInfo with various invalid types
#10408
New issue
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
Conversation
Deploying pydantic-docs with
|
| Latest commit: |
4d0f885
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a24fe6ab.pydantic-docs.pages.dev |
| Branch Preview URL: | https://zoneinfo-fix.pydantic-docs.pages.dev |
CodSpeed Performance ReportMerging #10408 will not alter performanceComparing Summary
|
|
|
||
|
|
||
| def test_zoneinfo_union() -> None: | ||
| ta = TypeAdapter(Union[zoneinfo.ZoneInfo, timezone], config=ConfigDict(arbitrary_types_allowed=True)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason to have arbitrary_types_allowed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't support timezone 😅
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||

Fix #10407