Skip to content

Pub/Sub QuickStart Guide is Outdated #6189

@anguillanneuf

Description

@anguillanneuf

Outdated info on the Pub/Sub Client Library landing page: https://github.com/googleapis/google-cloud-python/tree/master/pubsub:

If folks follow the subscriber guide to this step, they will get this error, which makes no sense.

>>> subscription = subscriber.subscribe(subscription_name)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: subscribe() takes at least 3 arguments (2 given)

Additionally, everywhere else in the API reference, the import statement says from google.cloud import pubsub_v1. We need to standardize the import statements.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.type: docsImprovement to the documentation for an API.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions