- 
                Notifications
    
You must be signed in to change notification settings  - Fork 12
 
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
ADAPTER_CLASSES is defined as Iterable
itemadapter/itemadapter/adapter.py
Line 271 in 98be128
| ADAPTER_CLASSES: Iterable[Type[AdapterInterface]] = deque( | 
However, in the docs it's suggested to use appendleft method which is not part of the Iterable API.
This causes errors with tools like mypy:
error: "Iterable[Type[AdapterInterface]]" has no attribute "appendleft"  [attr-defined]
Either the class type should be changed to List or other classes that may support appendleft or a different way to extend ADAPTER_CLASSES should be given.
wRAR
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation