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

/opt/conda/lib/python3.7/site-packages/graphql/type/directives.py:55: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working assert isinstance(locations, collections.Iterable), 'Must provide locations for directive. #155

Closed
williamFalcon opened this issue Jun 27, 2020 · 2 comments

Comments

@williamFalcon
Copy link

Hi!

This warning comes up very frequently and i think it's because of this library.
Could you guys take a look at updating these calls?

Thank you!

/opt/conda/lib/python3.7/site-packages/graphql/type/directives.py:55: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
  assert isinstance(locations, collections.Iterable), 'Must provide locations for directive.
@bmartinn
Copy link
Member

Hi @williamFalcon ,

I think this issue has already been addressed by #110 and fixed in #111

Trains does not import graphql, which seems like the root cause of this warning, or am I missing something here?

@bmartinn
Copy link
Member

Seems like this issue was addressed a while ago.

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

No branches or pull requests

2 participants