Title: Datastore transaction doc snippet has two imports · Issue #705 · googleapis/google-cloud-python · GitHub
Open Graph Title: Datastore transaction doc snippet has two imports · Issue #705 · googleapis/google-cloud-python
X Title: Datastore transaction doc snippet has two imports · Issue #705 · googleapis/google-cloud-python
Description: See http://googlecloudplatform.github.io/gcloud-python/latest/datastore-transactions.html#gcloud.datastore.transaction.Transaction Snippet is >>> from gcloud import datastore >>> from gcloud.datastore.transaction import Transaction >>> d...
Open Graph Description: See http://googlecloudplatform.github.io/gcloud-python/latest/datastore-transactions.html#gcloud.datastore.transaction.Transaction Snippet is >>> from gcloud import datastore >>> from gcloud.datast...
X Description: See http://googlecloudplatform.github.io/gcloud-python/latest/datastore-transactions.html#gcloud.datastore.transaction.Transaction Snippet is >>> from gcloud import datastore >>> ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/705
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Datastore transaction doc snippet has two imports","articleBody":"See http://googlecloudplatform.github.io/gcloud-python/latest/datastore-transactions.html#gcloud.datastore.transaction.Transaction\n\nSnippet is\n\n``` python\n\u003e\u003e\u003e from gcloud import datastore\n\u003e\u003e\u003e from gcloud.datastore.transaction import Transaction\n\n\u003e\u003e\u003e datastore.set_defaults()\n\n\u003e\u003e\u003e with Transaction():\n... datastore.put([entity1, entity2])\n```\n\nI'd expect it to be\n\n``` python\n\u003e\u003e\u003e from gcloud import datastore\n\u003e\u003e\u003e with datastore.Transaction():\n... datastore.put([entity1, entity2])\n```\n","author":{"url":"https://github.com/jgeewax","@type":"Person","name":"jgeewax"},"datePublished":"2015-03-12T11:09:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/705/google-cloud-python/issues/705"}
| 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:347dad7b-5053-3df1-5f75-e434432400e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A902:3FD636:22A3EC3:2FB3BE2:6A4F41F5 |
| html-safe-nonce | dd4daf26cb68cf85f94e3b26149d1c69cebf3000e9eee703dcaeb41dcab6332d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTAyOjNGRDYzNjoyMkEzRUMzOjJGQjNCRTI6NkE0RjQxRjUiLCJ2aXNpdG9yX2lkIjoiNDc5NTg3MDQ5MTQ5NDUzMTU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | adb313e0472ca4037b7ee3757448d694e1ceb862c9b4903113cfe1e9682ba447 |
| hovercard-subject-tag | issue:60802917 |
| 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/705/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78392ecc8ed46f0daeb0007585afcebbeb8c498b764e9f0b63f09b129570b158/googleapis/google-cloud-python/issues/705 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78392ecc8ed46f0daeb0007585afcebbeb8c498b764e9f0b63f09b129570b158/googleapis/google-cloud-python/issues/705 |
| og:image:alt | See http://googlecloudplatform.github.io/gcloud-python/latest/datastore-transactions.html#gcloud.datastore.transaction.Transaction Snippet is >>> from gcloud import datastore >>> from gcloud.datast... |
| 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 | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width