ItemAdapter class is a wrapper for data container objects

Edit Package python-itemadapter

The ItemAdapter class is a wrapper for data container objects, providing a common interface to handle objects of different types in an uniform manner, regardless of their underlying implementation.

Currently supported types are:
- dict
- scrapy.item.Item
- dataclass-based classes
- attrs-based classes

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000053 53 Bytes
itemadapter-0.9.0.tar.gz 0000017324 16.9 KB
pydantic2.patch 0000005879 5.74 KB
python-itemadapter.changes 0000003088 3.02 KB
python-itemadapter.spec 0000002442 2.38 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1173911 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 6)
- update to 0.9.0:
  * Dropped Python 3.7 support, added official Python 3.12
    support
  * Updated the documentation and the type hint about
    `ItemAdapter.ADAPTER_CLASSES` to say that subclasses can
    use any iterable, not just `collections.deque`
  * Documented that `Pydantic >= 2` is not supported yet
  * Updated CI configuration
Comments 0
openSUSE Build Service is sponsored by