-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
chore(python): Start at using new Bound<> API from PyO3 #15752
Conversation
"timedelta" => get_timedelta, | ||
"Decimal" => get_decimal, | ||
"range" => get_list, | ||
"date" => get_date as InitFn, |
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.
Lacking the as InitFn
I got errors about "expected fn pointer, got fn item" (or vice versa?).
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.
(Unresolving temporarily, just in case someone else reviews)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15752 +/- ##
==========================================
+ Coverage 81.31% 81.36% +0.04%
==========================================
Files 1373 1379 +6
Lines 176256 176719 +463
Branches 2544 2542 -2
==========================================
+ Hits 143327 143786 +459
- Misses 32447 32452 +5
+ Partials 482 481 -1 ☔ View full report in Codecov by Sentry. |
5da29fe
to
8086043
Compare
CodSpeed Performance ReportMerging #15752 will not alter performanceComparing Summary
|
Thank you, that was educational. I'll finish this up today. |
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.
Alright. Looks great. Thank you @itamarst!
Fixes #15699
There will be more follow-up PRs, this is just a small chunk of the usages that need upgrading (although hopefully not as tricky).