Skip to content

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

Development

Successfully merging this pull request may close these issues.

Typing Import missing in streaming API Service generation for client streaming missing a AsyncIterator import

6 participants