scrapinghub / python-scrapinghub

A client interface for Scrapinghub's API
https://python-scrapinghub.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
202 stars 63 forks source link

Jobs.iter() is unable to accept has_tag as a list. #158

Open PeteRoyAlex opened 3 years ago

PeteRoyAlex commented 3 years ago

From the docs:

jobs_summary = project.jobs.iter( ... has_tag=['new', 'verified'], lacks_tag='obsolete')

has_tag accepts a string but no a list. lacks_tag works perfectly fine with both.