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

Move boilerplate docs for 'if_generation_match' et al. out of method docstrings #460

Closed
tseaver opened this issue Jun 8, 2021 · 0 comments · Fixed by #464
Closed

Move boilerplate docs for 'if_generation_match' et al. out of method docstrings #460

tseaver opened this issue Jun 8, 2021 · 0 comments · Fixed by #464
Assignees
Labels
api: storage Issues related to the googleapis/python-storage API. type: docs Improvement to the documentation for an API.

Comments

@tseaver
Copy link
Contributor

tseaver commented Jun 8, 2021

See also #455.

There are a ton of API-invoking methods which take if_generation_match, if_generation_not_match, etc. and have docstring entries for each of them which are both too verbose and too terse: they don't include / reference examples, and they are wordy. y preference, they would point instead to a narrative page (built from e.g. docs/conditional_arguments.rst) which would include comprehensive examples for them.

@tseaver tseaver added the type: docs Improvement to the documentation for an API. label Jun 8, 2021
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label Jun 8, 2021
@tseaver tseaver self-assigned this Jun 8, 2021
tseaver added a commit that referenced this issue Jun 10, 2021
- 'if_genration_match'
- 'if_genration_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Toward #460.
tseaver added a commit that referenced this issue Jun 10, 2021
Link to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present)
for consistency).

Closes #460.
tseaver added a commit that referenced this issue Jun 10, 2021
- 'if_genration_match'
- 'if_genration_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Toward #460.
tseaver added a commit that referenced this issue Jun 10, 2021
Link to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present)
for consistency.

Closes #460.
tseaver added a commit that referenced this issue Jun 14, 2021
- 'if_genration_match'
- 'if_genration_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Toward #460.
tseaver added a commit that referenced this issue Jun 14, 2021
Link to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present)
for consistency.

Closes #460.
tseaver added a commit that referenced this issue Jun 15, 2021
- 'if_genration_match'
- 'if_genration_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Toward #460.
tseaver added a commit that referenced this issue Jun 15, 2021
Link to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present)
for consistency.

Closes #460.
tseaver added a commit that referenced this issue Jun 21, 2021
- 'if_genration_match'
- 'if_genration_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Toward #460.
tseaver added a commit that referenced this issue Jun 21, 2021
Link to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present)
for consistency.

Closes #460.
tseaver added a commit that referenced this issue Jun 21, 2021
Add narrative docs for conditional params:

- 'if_generation_match'
- 'if_generation_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Streamline docstrings for conditional params, linking to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present) for consistency.

Closes #460.
cojenco pushed a commit to cojenco/python-storage that referenced this issue Oct 13, 2021
Add narrative docs for conditional params:

- 'if_generation_match'
- 'if_generation_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Streamline docstrings for conditional params, linking to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present) for consistency.

Closes googleapis#460.
cojenco pushed a commit to cojenco/python-storage that referenced this issue Oct 13, 2021
Add narrative docs for conditional params:

- 'if_generation_match'
- 'if_generation_not_match'
- 'if_metageneration_match'
- 'if_metageneration_not_match'

Streamline docstrings for conditional params, linking to new narrative docs.

Also, move 'timeout' argument to end (just before 'retry', if present) for consistency.

Closes googleapis#460.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/python-storage API. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant