Skip to content

Commit

Permalink
Merge pull request #146 from BurnzZ/better-kwargs-handling-in-iter
Browse files Browse the repository at this point in the history
update iter() for better fallback in getting 'meta' argument
  • Loading branch information
rafaelcapucho committed Jul 26, 2021
2 parents c70137a + fa4d0b0 commit d30aced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapinghub/client/proxy.py
Expand Up @@ -110,7 +110,7 @@ def iter(self, _path=None, count=None, requests_params=None, **apiparams):
"""
update_kwargs(apiparams, count=count)
apiparams = self._modify_iter_params(apiparams)
drop_key = '_key' not in apiparams.get('meta', [])
drop_key = '_key' not in (apiparams.get('meta') or [])
for entry in self._origin.iter_values(
_path, requests_params, **apiparams
):
Expand Down

0 comments on commit d30aced

Please sign in to comment.