fastai/ghapi

Bug: `paged` does not pass `kwargs` to operation

jrieke opened this issue · 2 comments

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"})

Made a small PR to fix this, see #25

Thanks!