scrapy / itemadapter

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

Use decorator syntax for dataclass definitions #44

Closed elacuesta closed 3 years ago

elacuesta commented 3 years ago

After dropping support for Python 3.5 in #38 we can annotate variables, and thus can use the decorator approach which is more readable IMHO.

codecov[bot] commented 3 years ago

Codecov Report

Merging #44 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          130       130           
=========================================
  Hits           130       130           

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 e3083b3...fe11028. Read the comment docs.