Title: Pubsub surface uses long imports · Issue #827 · googleapis/google-cloud-python · GitHub
Open Graph Title: Pubsub surface uses long imports · Issue #827 · googleapis/google-cloud-python
X Title: Pubsub surface uses long imports · Issue #827 · googleapis/google-cloud-python
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') o...
Open Graph 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 pub...
X 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 im...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/827
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pubsub surface uses long imports","articleBody":"In the pubsub surface docs page, we use long-style imports instead of the shortcut ones, that is:\n\n``` python\nfrom gcloud.pubsub.topic import Topic\ntopic = Topic('topic_name')\n```\n\ninstead of\n\n``` python\nfrom gcloud import pubsub\ntopic = pubsub.Topic('topic_name')\n```\n\nor \n\n``` python\nfrom gcloud.pubsub import Topic\ntopic = Topic('topic_name')\n```\n","author":{"url":"https://github.com/jgeewax","@type":"Person","name":"jgeewax"},"datePublished":"2015-04-15T14:29:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/827/google-cloud-python/issues/827"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:57559579-32cc-9d45-2c0a-74601db55aed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDD4:299DE6:10A6A8:16D8D5:6A4D2FDE |
| html-safe-nonce | e6f5e92391d34a8d60fc3864d97a9f05d9c22f93a2ffde55375e362062ada062 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREQ0OjI5OURFNjoxMEE2QTg6MTZEOEQ1OjZBNEQyRkRFIiwidmlzaXRvcl9pZCI6IjM0ODk5MTU0NzEwMjAyNDA4NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 365444dadb1fc752520464eb8937e504b2b9bf2d0c27a0c2aa4778005e8c88c6 |
| hovercard-subject-tag | issue:68697332 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/827/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8524e4faf618a3cd8bfc0cf4c9b10b1ca0fc26ecfca4b51b901c2dced678568c/googleapis/google-cloud-python/issues/827 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8524e4faf618a3cd8bfc0cf4c9b10b1ca0fc26ecfca4b51b901c2dced678568c/googleapis/google-cloud-python/issues/827 |
| og:image:alt | 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 pub... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jgeewax |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width