v2.60 API change #200
Unanswered
damonlynch
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
The I'm not the best judge of what's Pythonic. For example, I really dislike Python's type indicators. But your helper/wrapper looks a good way to handle the different APIs. PS From v2.5.1 onwards there's a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @jim-easterbrook,
Did I respond to the 2.60 API change in a way that looks good to you?
This code block is intended to handle old and new versions of your library. If I could have made this change more pythonic, please let me know. Wrapping the call in a generator seemed the easiest approach to me.
Thanks,
Damon
Beta Was this translation helpful? Give feedback.
All reactions