FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Pubsub surface uses long imports · Issue #827 · googleapis/google-cloud-python · GitHub

Pubsub surface uses long imports #827

Description

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


Back | FazBrowse Home | New Git URL