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:Backports:SLE-15-SP4:FactoryCandidates/python-itemadapter && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_multibuild | 0000000053 53 Bytes | |
itemadapter-0.8.0.tar.gz | 0000017140 16.7 KB | |
python-itemadapter.changes | 0000002383 2.33 KB | |
python-itemadapter.spec | 0000002310 2.26 KB |
Revision 4 (latest revision is 6)
Ana Guerrero (anag+factory)
accepted
request 1131744
from
Dirk Mueller (dirkmueller)
(revision 4)
- update to 0.8.0: * Dropped Python 3.6 support, and made Python 3.11 support official * It is now possible to declare custom `ItemAdapter` subclasses with their own `ADAPTER_CLASSES` attribute, allowing to support different item types in different parts of the same code base * Improved type hint support Improve performance by removing imports inside functions (#60) - Disable python36 build due to Scrapy
Comments 0