Bug: `paged` does not pass `kwargs` to operation
jrieke opened this issue · comments
Johannes Rieke commented
On this line, the kwargs
that paged
receives are not passed on to the operation (as is described in the docs here and the docstring in the line above).
This produces an error for me when using paged with a custom header, e.g.:
paged(api.activity.list_stargazers_for_repo, "fastai", "ghapi", headers={"Accept": "application/vnd.github.v3.star+json"})
Johannes Rieke commented
Made a small PR to fix this, see #25
Hamel Husain commented
Thanks!