Skip to content
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

Fix a Pendulum date time object to have correct typing #184

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

07pepa
Copy link
Contributor

@07pepa 07pepa commented Jun 10, 2024

  • removed handler that vas coercing it to native datetime values
  • added test to verify correct typing after parsing

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@07pepa 07pepa force-pushed the fix-183-issue branch 4 times, most recently from 9af2ea2 to 7434305 Compare June 10, 2024 14:33
* removed handler that vas coercing it to native datetime values
* added test to verify correct typing after parsing
@07pepa
Copy link
Contributor Author

07pepa commented Jun 10, 2024

@yezz123 This is ready to merge

@yezz123 yezz123 merged commit 7097d98 into pydantic:main Jun 10, 2024
18 checks passed
@07pepa 07pepa deleted the fix-183-issue branch June 11, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pendulum_dt.Date can resolve to datetime.date Date type does not decompose correctly
2 participants