Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

docs: fix get topic_path in subscriber sample - #210

Merged
plamut merged 2 commits into
googleapis:masterfrom
ryanyuan:fix/subscriber-get-topic-path-docs
Sep 28, 2020
Merged

docs: fix get topic_path in subscriber sample#210
plamut merged 2 commits into
googleapis:masterfrom
ryanyuan:fix/subscriber-get-topic-path-docs

Conversation

@ryanyuan

@ryanyuan ryanyuan commented Sep 25, 2020

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • 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)

Fixes #209 🦕

@ryanyuan
ryanyuan requested a review from a team September 25, 2020 07:20
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 25, 2020
@product-auto-label product-auto-label Bot added api: pubsub Issues related to the googleapis/python-pubsub API. samples Issues that are directly related to samples. labels Sep 25, 2020

@marjohkan marjohkan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you meaning to create an instance of pubsub.SubscriberClient and name the variable "publisher"?
Line 40:
# publisher = pubsub.SubscriberClient()

@ryanyuan
ryanyuan force-pushed the fix/subscriber-get-topic-path-docs branch from e2877a5 to 7e45f19 Compare September 25, 2020 22:57
@ryanyuan

Copy link
Copy Markdown
Contributor Author

@marjohkan It should be 'publisher = pubsub.PublisherClient()'. My bad, copy/paste error.

@ryanyuan
ryanyuan removed the request for review from a team September 25, 2020 22:58
@ryanyuan

Copy link
Copy Markdown
Contributor Author

@plamut I just accidentally removed googleapis/api-pubsub from reviewers.

@plamut plamut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for catching and fixing this!

@plamut plamut added kokoro:force-run Add this label to force Kokoro to re-run the tests. automerge Merge the pull request once unit tests and other checks pass. labels Sep 28, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 28, 2020
@plamut

plamut commented Sep 28, 2020

Copy link
Copy Markdown
Contributor

"Stream removed" flakiness caused the Python3.7 samples check to fail.

@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 28, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 28, 2020
@plamut
plamut merged commit 7228f6c into googleapis:master Sep 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: pubsub Issues related to the googleapis/python-pubsub API. automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SubscriberClient no longer has 'topic_path' method, but documentation still makes references to it.

4 participants