You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> m = @which GitHub.pull_request(Repo("JuliaLang/julia"), 33779)
pull_request(repo, pr) in GitHub
In general, the '@api_default` is pretty annoying. It needs to be put on all methods and I don't see how it is better than just using a global or a keyword arg with a default value or something more normal.
The text was updated successfully, but these errors were encountered:
My guess is that it's because it's the first argument, so writing these is somewhat cumbersome?
On a somewhat related note, I would actually like to change the interface so that auth and headers are included as part of the GitHubAPI object (since they tend not to change between requests). In which case we could make it non-optional?
In general, the '@api_default` is pretty annoying. It needs to be put on all methods and I don't see how it is better than just using a global or a keyword arg with a default value or something more normal.
The text was updated successfully, but these errors were encountered: