Skip to content

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

Merged
yezz123 merged 1 commit into
pydantic:mainfrom
07pepa:fix-183-issue
Jun 10, 2024
Merged

yezz123 merged 1 commit into
pydantic:mainfrom
07pepa:fix-183-issue

Conversation

@07pepa

@07pepa 07pepa commented Jun 10, 2024

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

@codecov

codecov Bot commented Jun 10, 2024

Copy link
Copy Markdown

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

07pepa commented Jun 10, 2024

Copy link
Copy Markdown
Contributor Author

@yezz123 This is ready to merge

@yezz123
yezz123 merged commit 7097d98 into pydantic:main Jun 10, 2024
@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