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
docs: streamline 'timeout' / 'retry' docs in docstrings #461
docs: streamline 'timeout' / 'retry' docs in docstrings #461
Conversation
0364999
to
aa470b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! A couple small suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @tseaver for streamlining this!
Include API docs for the 'retry' module, as well, to unbreak links.
Replace boilerplate with links to new narrative docs. Closes #455.
Rather than hacking it in via replacement.
- Explain semantics of default policies, and where used. - Provide an example of a predicate function for a conditional policy. Per review comments.
Per review comments.
Further review comments.
Per review.
435c4e4
to
1a56e89
Compare
* Add 'requests' intersphinx refs * Add narrative docs for timeouts and retries * Include API docs for the 'retry' module, as well, to unbreak links. * Replace boilerplate docstring entries for 'timeout' / 'retry' with links to new narrative docs. * Add docstrings for default conditional policies. Closes googleapis#455.
* Add 'requests' intersphinx refs * Add narrative docs for timeouts and retries * Include API docs for the 'retry' module, as well, to unbreak links. * Replace boilerplate docstring entries for 'timeout' / 'retry' with links to new narrative docs. * Add docstrings for default conditional policies. Closes googleapis#455.
Closes #455