scrapy / itemadapter

Common interface for data container classes
BSD 3-Clause "New" or "Revised" License
61 stars 13 forks source link

ItemAdapter.is_item_class and ItemAdapter.get_field_meta_from_class #54

Closed elacuesta closed 3 years ago

elacuesta commented 3 years ago

Bringing in the ability to get field meta data for custom item classes. #53 showed us this is not currently possible without editing library code.

Tasks:

codecov[bot] commented 3 years ago

Codecov Report

Merging #54 (383a89d) into master (4527d77) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          248       272   +24     
=========================================
+ Hits           248       272   +24     
Impacted Files Coverage Δ
itemadapter/adapter.py 100.00% <100.00%> (ø)
itemadapter/utils.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4527d77...383a89d. Read the comment docs.