ItemAdapter class is a wrapper for data container objects
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
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:16.0:FactoryCandidates/python-itemadapter && cd $_
- Create Badge
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 (anag+factory)
accepted
request 1173911
from
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