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
itemadapter-0.1.0.tar.gz 0000009184 8.97 KB
python-itemadapter.changes 0000000467 467 Bytes
python-itemadapter.spec 0000002186 2.13 KB
Revision 1 (latest revision is 15)
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 819305 from Jacob W's avatar Jacob W (winski) (revision 1)
itemadapter is a wrapper for data container objects & required for updating python-Scrapy (already in repos) because it is not a dependency. itemadapter is made by the Scrapy team. I have also updated python-Scrapy (with this package as a dep) and have submitted that as another request.
UPDATED: added tests to package as requested by d:l:p maintainer.
Comments 0
openSUSE Build Service is sponsored by