Title: Do full pass over RST docs and docstrings after datastore API revamp is completed · Issue #469 · googleapis/google-cloud-python · GitHub
Open Graph Title: Do full pass over RST docs and docstrings after datastore API revamp is completed · Issue #469 · googleapis/google-cloud-python
X Title: Do full pass over RST docs and docstrings after datastore API revamp is completed · Issue #469 · googleapis/google-cloud-python
Description: from gcloud import datastore dataset = datastore.get_dataset('dataset-id-here') # Then do other things... query = dataset.query().kind('EntityKind') entity = dataset.entity('EntityKind') This doesn't work, and is in both README and offic...
Open Graph Description: from gcloud import datastore dataset = datastore.get_dataset('dataset-id-here') # Then do other things... query = dataset.query().kind('EntityKind') entity = dataset.entity('EntityKind') This doesn...
X Description: from gcloud import datastore dataset = datastore.get_dataset('dataset-id-here') # Then do other things... query = dataset.query().kind('EntityKind') entity = dataset.entity('Ent...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/469
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do full pass over RST docs and docstrings after datastore API revamp is completed","articleBody":"``` Python\nfrom gcloud import datastore\ndataset = datastore.get_dataset('dataset-id-here')\n# Then do other things...\nquery = dataset.query().kind('EntityKind')\nentity = dataset.entity('EntityKind')\n```\n\nThis doesn't work, and is in both README and official docs. It is documented in `help(datastore.get_dataset)` but not everyone may be aware.\n\n``` Python\n\u003e\u003e\u003e from gcloud import datastore\n\u003e\u003e\u003e dataset = datastore.get_dataset('dataset-id', email, key_path)\n\u003e\u003e\u003e # Now you can do things with the dataset.\n\u003e\u003e\u003e dataset.query().kind('TestKind').fetch()\n```\n\nThis also makes the envorinment variables optional I think, and not mandatory as per docs. It should also be documented that `key_path` expects the raw p12 key and not the JSON version, unlike the environment variable.\n\nhttps://googlecloudplatform.github.io/gcloud-python/datastore-api.html#cloud-datastore-in-10-seconds\n","author":{"url":"https://github.com/pdknsk","@type":"Person","name":"pdknsk"},"datePublished":"2014-12-28T20:05:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/469/google-cloud-python/issues/469"}
| 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:dad26b16-d141-46fd-5293-b7a45a9027ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB08:21D8E1:812EEB:B614C1:6A4E7B9D |
| html-safe-nonce | 8dc481ea47e3ab78a630b6df75a1e62a4c269ea54c989383f4d8d570e4769ff6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjA4OjIxRDhFMTo4MTJFRUI6QjYxNEMxOjZBNEU3QjlEIiwidmlzaXRvcl9pZCI6IjU3NzMwMTUwMDkxOTkwMjkxNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 386cd3597fcd65b57cf065d061dc354b7d39f29a24c2fdd1a9ec71fc4b318820 |
| hovercard-subject-tag | issue:53008494 |
| 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/469/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e1140d16bfa7efeb8bfd92b7f8d2c5b1fe12868b97de4a5e5f4783a4bea6cc6c/googleapis/google-cloud-python/issues/469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e1140d16bfa7efeb8bfd92b7f8d2c5b1fe12868b97de4a5e5f4783a4bea6cc6c/googleapis/google-cloud-python/issues/469 |
| og:image:alt | from gcloud import datastore dataset = datastore.get_dataset('dataset-id-here') # Then do other things... query = dataset.query().kind('EntityKind') entity = dataset.entity('EntityKind') This doesn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pdknsk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width