GeezerVison is showing github.com — docs: fix update subscription/snapshot/topic samples by plamut · Pull Request #113 · googleapis/python-pubsub
This repository was archived by the owner on Oct 13, 2026. It is now read-only.
Conversation
plamut
commented
Jun 5, 2020
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #110.
This PR fixes two samples in subscriber docstrings. Ideally, this should be addressed in the code generator itself, but until then we can fix this manually on the PubSub side.
I did not re-generate all files due to the current issue with docstring format, thus the PR only includes the relevant changes in the generated code.
PR checklist
- Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- Ensure the tests and linter pass
- Code coverage does not decrease (if any source code was changed)
- Appropriate docs were updated (if necessary)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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 taking this on! While you're at it, can you please update the docs for "update_topic" as well? They're incomplete as of now.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
plamut
changed the title
docs: fix update subscription/snapshot samples
docs: fix update subscription/snapshot/topic samples
Jun 6, 2020
parthea
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
Mar 2, 2026
Reviewers
1 more reviewer
pradn
pradn approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
type: docs
Improvement to the documentation for an API.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.