python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

Pub / Sub list_subscriptions_in_topic uses wrong method

Open dhermes opened this issue 8 years ago • 2 comments

In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/python-docs-samples/blob/06453e45a644fae39ea2c22d4c761645b71aa42b/pubsub/cloud-client/subscriber.py#L30

Describe the issue

publisher.list_topic_subscriptions() should be used rather than subscriber.list_subscriptions()

See https://github.com/GoogleCloudPlatform/google-cloud-python/issues/4426

dhermes avatar Jan 08 '18 18:01 dhermes

@andrewsg can you take this on?

theacodes avatar Jan 08 '18 18:01 theacodes

Problem was solved but bug wasn't closed. Closing now.

andrewsg avatar May 22 '19 22:05 andrewsg