-
Notifications
You must be signed in to change notification settings - Fork 220
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
Include AsyncIterator import for both clients and servers #264
Conversation
@@ -1,5 +1,5 @@ | |||
from abc import ABC | |||
from collections import AsyncIterable | |||
from collections.abc import AsyncIterable |
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.
This fixes the warning:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
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.
🙏
Co-authored-by: Robin Lambertz <github@roblab.la>
This did indeed break in Python 3.10. Could this PR be merged and released please? |
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.
Thanks @lazytype!
@@ -1,5 +1,5 @@ | |||
from abc import ABC | |||
from collections import AsyncIterable | |||
from collections.abc import AsyncIterable |
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.
🙏
resolves #198
resolves #261
Any guidance on testing would be appreciated.