Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate method headers in docstrings #265

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

abhro
Copy link

@abhro abhro commented Dec 25, 2024

The current method headers in the docstrings are a bit overburdened because they also list all the arguments' type information. For download(), the argument explanation and list is mixed together for better flow, and for request it's separated to after the method description.

This PR mostly moves around the lines, and doesn't add much in the way of content. Some of the arguments in the download() docstring could probably use a sentence or two of description, but I'm being a bit more conservative in this PR.

The equal sign implies that there's a default value, which implies that
the argument is optional.
For request(), move list of argument types to own list
Copy link

codecov bot commented Dec 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.68%. Comparing base (afd04be) to head (59be7ea).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #265   +/-   ##
=======================================
  Coverage   90.68%   90.68%           
=======================================
  Files           5        5           
  Lines         612      612           
=======================================
  Hits          555      555           
  Misses         57       57           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant