itemadapter icon indicating copy to clipboard operation
itemadapter copied to clipboard

Common interface for data container classes

Results 12 itemadapter issues
Sort by recently updated
recently updated
newest added

`ADAPTER_CLASSES` is defined as `Iterable` https://github.com/scrapy/itemadapter/blob/98be1281ec11664da93f836861f81734382ce4ea/itemadapter/adapter.py#L271 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...

bug
documentation

Here I tried to add support for pydantic v2 BaseModel and Field. This solution theoretically (we cover with tests once maintainers approve this implementation) work with any pydantic package. I...