Skip to content

Pubsub surface uses long imports #827

Closed
@jgeewax

Description

@jgeewax

In the pubsub surface docs page, we use long-style imports instead of the shortcut ones, that is:

from gcloud.pubsub.topic import Topic
topic = Topic('topic_name')

instead of

from gcloud import pubsub
topic = pubsub.Topic('topic_name')

or

from gcloud.pubsub import Topic
topic = Topic('topic_name')

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions