-
Notifications
You must be signed in to change notification settings - Fork 235
fix: error type hints in Python3.12 (#1147) #1840
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
samsja
left a comment
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.
Thank you very much for the PR.
I am not sure about the implementation. I think it would be nicer if do a if else on the python version rather that relying on catching the exception
|
Hey @954-Ivory , we need you to sign off the commits and to comply with our guidelines as per lur CONTRIBUTING_GUIDELINES |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1840 +/- ##
==========================================
- Coverage 85.07% 85.06% -0.02%
==========================================
Files 136 136
Lines 9255 9260 +5
==========================================
+ Hits 7874 7877 +3
- Misses 1381 1383 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
I approved, but before merging can you apply black @954-Ivory ? and DCO as well ( you can do |
Can you help me check if I have made any mistakes? |
2d08f10 to
9391424
Compare
Signed-off-by: 954 <[email protected]>
Issue: #1839
Description
I encountered the following issue when using langchain in Python 3.12:
langchain-ai/langchain#15016
It caused by this PR (#1147)
Example Code