Title: dict only datastore put · Issue #410 · googleapis/google-cloud-python · GitHub
Open Graph Title: dict only datastore put · Issue #410 · googleapis/google-cloud-python
X Title: dict only datastore put · Issue #410 · googleapis/google-cloud-python
Description: Since I've been working on a TodoMVC demo with gcloud-python, I've been discussing usability with @proppy and thinking it would useful to be able to put data from dictionary form into the datastore directly without instantiating an entit...
Open Graph Description: Since I've been working on a TodoMVC demo with gcloud-python, I've been discussing usability with @proppy and thinking it would useful to be able to put data from dictionary form into the datastore...
X Description: Since I've been working on a TodoMVC demo with gcloud-python, I've been discussing usability with @proppy and thinking it would useful to be able to put data from dictionary form into the d...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/410
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dict only datastore put","articleBody":"Since I've been working on a TodoMVC demo with gcloud-python, I've been discussing usability with @proppy and thinking it would useful to be able to put data from dictionary form into the datastore directly without instantiating an entity object -- something along the lines of:\n\n```\ndataset = datastore.get_dataset(foo, bar, baz)\ndataset.put(('kind', 'root', 'kind', 1),{'name':anakin_skywalker, 'jedi': True, 'sith':True})\n```\n\nThis feels more pythonic. As a side note, I'm not really sure why \"save\" \"reload\" and \"delete\" are entity level methods. One can imagine wanting similar entities across multiple datasets without having to instantiate a bunch of objects. Any thoughts on this?\n\nThanks!\n","author":{"url":"https://github.com/elibixby","@type":"Person","name":"elibixby"},"datePublished":"2014-12-09T01:00:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/410/google-cloud-python/issues/410"}
| 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:30eed4de-26cf-43a2-f358-228d71711b7f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A376:3F9EED:12D1828:1B92803:6A4E44CC |
| html-safe-nonce | f26935f34db8660c8addb65a7e25339516fe3a8c1f09bb7da20998c836c318e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzc2OjNGOUVFRDoxMkQxODI4OjFCOTI4MDM6NkE0RTQ0Q0MiLCJ2aXNpdG9yX2lkIjoiOTA1ODg2OTA2NjAxMDA4NDU1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7dcf61be4606bbe374af729fbb07dbb57df20ae3f52076ed170081bb1401b879 |
| hovercard-subject-tag | issue:51374889 |
| 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/410/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7582d391c160cfb8899c73f9aa75ce0603617a4728ca88e09b76e14432a29ae9/googleapis/google-cloud-python/issues/410 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7582d391c160cfb8899c73f9aa75ce0603617a4728ca88e09b76e14432a29ae9/googleapis/google-cloud-python/issues/410 |
| og:image:alt | Since I've been working on a TodoMVC demo with gcloud-python, I've been discussing usability with @proppy and thinking it would useful to be able to put data from dictionary form into the datastore... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | elibixby |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | 9fabff9b8b127e686a3ec86f91422e818056ca2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width