Title: datastore.get() requires a list · Issue #701 · googleapis/google-cloud-python · GitHub
Open Graph Title: datastore.get() requires a list · Issue #701 · googleapis/google-cloud-python
X Title: datastore.get() requires a list · Issue #701 · googleapis/google-cloud-python
Description: See http://googlecloudplatform.github.io/gcloud-python/ The snippet is: from gcloud import datastore datastore.set_defaults() product_key = datastore.Key('Product', 123) print datastore.get([product_key]) I'd expect it to be: from gcloud...
Open Graph Description: See http://googlecloudplatform.github.io/gcloud-python/ The snippet is: from gcloud import datastore datastore.set_defaults() product_key = datastore.Key('Product', 123) print datastore.get([produc...
X Description: See http://googlecloudplatform.github.io/gcloud-python/ The snippet is: from gcloud import datastore datastore.set_defaults() product_key = datastore.Key('Product', 123) print datastore.get...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/701
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"datastore.get() requires a list","articleBody":"See http://googlecloudplatform.github.io/gcloud-python/\n\nThe snippet is:\n\n``` python\nfrom gcloud import datastore\ndatastore.set_defaults()\n\nproduct_key = datastore.Key('Product', 123)\nprint datastore.get([product_key])\n```\n\nI'd expect it to be:\n\n``` python\nfrom gcloud import datastore\nproduct_key = datastore.Key('Product', 123)\nproduct = datastore.get(product_key)\n```\n","author":{"url":"https://github.com/jgeewax","@type":"Person","name":"jgeewax"},"datePublished":"2015-03-12T10:58:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/701/google-cloud-python/issues/701"}
| 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:f1fb5225-658e-bd73-8a01-d9750e1430b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BF4:53234:1AEC609:24DD209:6A4F3760 |
| html-safe-nonce | 5b572a1da110f4a376265ee3f2ee909edee7a4577f300607bcecae5edcbd1a9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkY0OjUzMjM0OjFBRUM2MDk6MjRERDIwOTo2QTRGMzc2MCIsInZpc2l0b3JfaWQiOiIyNzk5Nzk5MTQ2NjQ2NTUwMzY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 37980ff30a3e1a5cd46c1799d8132daf75823e44862ff51c32a7f28a477aef35 |
| hovercard-subject-tag | issue:60801693 |
| 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/701/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f13bd29091f8e22b9b0f8dafa05b14a7aea7436d047b0f31fa4aefa6cd7c9734/googleapis/google-cloud-python/issues/701 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f13bd29091f8e22b9b0f8dafa05b14a7aea7436d047b0f31fa4aefa6cd7c9734/googleapis/google-cloud-python/issues/701 |
| og:image:alt | See http://googlecloudplatform.github.io/gcloud-python/ The snippet is: from gcloud import datastore datastore.set_defaults() product_key = datastore.Key('Product', 123) print datastore.get([produc... |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width