Skip to content
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

Merged
merged 3 commits into from
Nov 5, 2021
Merged

Include AsyncIterator import for both clients and servers #264

merged 3 commits into from
Nov 5, 2021

Conversation

lazytype
Copy link
Contributor

@lazytype lazytype commented Aug 24, 2021

resolves #198
resolves #261

Any guidance on testing would be appreciated.

@@ -1,5 +1,5 @@
from abc import ABC
from collections import AsyncIterable
from collections.abc import AsyncIterable
Copy link
Contributor Author

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

Copy link
Collaborator

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>
@moorchegue
Copy link

This did indeed break in Python 3.10. Could this PR be merged and released please?

Copy link
Collaborator

@kalzoo kalzoo left a 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@kalzoo kalzoo mentioned this pull request Nov 3, 2021
@Gobot1234 Gobot1234 merged commit c424b6f into danielgtaylor:master Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants