Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Pubsub surface uses long imports #827

Copy link
Copy link
@jgeewax

Description

@jgeewax
Issue body actions

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.Issues related to the Pub/Sub API.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.