Update import for Mapping and OrderedDict
See original GitHub issue/site-packages/graphene/types/field.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping, OrderedDict
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
collections — Container datatypes
The underlying mappings are stored in a list. That list is public and can be accessed or updated using the maps attribute. There...
Read more >In Python, how can you load YAML mappings as ...
Save this question. Show activity on this post. I'd like to get PyYAML's loader to load mappings (and ordered mappings) into the Python...
Read more >OrderedDict in Python
A Python program to demonstrate working of key. # value change in OrderedDict. from collections import OrderedDict. print ( "Before:\n" ).
Read more >Python OrderedDict
When we iterate over an OrderedDict, items are returned in the order they were inserted. A regular dictionary doesn't track the insertion order....
Read more >OrderedDict vs dict in Python: The Right Tool for the Job
If you update the value of an existing key, then the order remains unchanged. ... In this case, you first import OrderedDict from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any chance this could be released in the 2.* series? Since 3.0. is not yet released this is blocking our update to Python 3.9
Yes. https://github.com/graphql-python/graphene/blob/master/graphene/types/field.py#L2
I created the issue and then went to fix it and it was already correct.