Closed
Description
In which file did you encounter the issue?
Did you change the file? If so, how?
list_subscriptions takes the project_path as parameter, not the topic_path
correct method would be
def list_subscriptions(project):
"""Lists all subscriptions for a given topic."""
subscriber = pubsub_v1.SubscriberClient()
project_path = subscriber.project_path(project)
for subscription in subscriber.list_subscriptions(project_path):
print(subscription.name)
Describe the issue
Metadata
Metadata
Assignees
Labels
No labels