Title: Cloud datastore access to appengine python with out Managed vm or Compute engine. · Issue #405 · googleapis/google-cloud-python · GitHub
Open Graph Title: Cloud datastore access to appengine python with out Managed vm or Compute engine. · Issue #405 · googleapis/google-cloud-python
X Title: Cloud datastore access to appengine python with out Managed vm or Compute engine. · Issue #405 · googleapis/google-cloud-python
Description: All the demos and guides shows how to access cloud datastore from python on GCE or from local machine, but is it possible to access cloud datastore from python hosted on a GAE ? from gcloud import datastore import os import webapp2 # dat...
Open Graph Description: All the demos and guides shows how to access cloud datastore from python on GCE or from local machine, but is it possible to access cloud datastore from python hosted on a GAE ? from gcloud import ...
X Description: All the demos and guides shows how to access cloud datastore from python on GCE or from local machine, but is it possible to access cloud datastore from python hosted on a GAE ? from gcloud import ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/405
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cloud datastore access to appengine python with out Managed vm or Compute engine.","articleBody":"All the demos and guides shows how to access cloud datastore from python on GCE or from local machine, but is it possible to access cloud datastore from python hosted on a GAE ?\n\n```\nfrom gcloud import datastore\nimport os\nimport webapp2\n\n# dataset = datastore.get_dataset(\n# 'appid',\n# 'xxx@developer.gserviceaccount.com',\n# os.path.abspath(\"appid.p12\"))\n#\n# entity = dataset.entity('People')\n# entity['name'] = 'helloworld'\n# entity['age'] = 25\n# entity.save()\n# print 'Hello, world!'\nclass MainPage(webapp2.RequestHandler):\n def get(self):\n dataset = datastore.get_dataset(\n 'appid',\n 'xxxx@developer.gserviceaccount.com',\n os.path.abspath(\"appid.p12\"))\n\n entity = dataset.entity('People')\n entity['name'] = 'helloworld'\n entity['age'] = 25\n entity.save()\n self.response.out.write('Hello')\n\n\napplication = webapp2.WSGIApplication([\n ('/', MainPage)\n], debug=True)\n```\n\nI don't seem to get this working. like https://cloud.google.com/appengine/docs/python/gettingstartedpython27/helloworld\n\nIf anyone has this working on appengine please share. Thanks\n","author":{"url":"https://github.com/sasivarunan","@type":"Person","name":"sasivarunan"},"datePublished":"2014-12-03T15:44:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/405/google-cloud-python/issues/405"}
| 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:eee16481-c586-6d0b-3428-3fdb861692ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4A0:3029FD:D97635:128B4D7:6A4DCE6C |
| html-safe-nonce | 304c334badea4b9b718461f5caaf6407bd8b99e4c3a7077ed848ac4d4522b859 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEEwOjMwMjlGRDpEOTc2MzU6MTI4QjRENzo2QTREQ0U2QyIsInZpc2l0b3JfaWQiOiI0NDEzNDAwMjIyMTA2NzY2OTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 016453c103f18a2350b9bfa53b8f7788276de6e750e5356339f27c0c8a21441f |
| hovercard-subject-tag | issue:50853557 |
| 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/405/issue_layout |
| twitter:image | https://opengraph.githubassets.com/caad2fd745ee811484e8a2dd9813a78c8fdae9b69f75df5d9c22846949edb4b3/googleapis/google-cloud-python/issues/405 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/caad2fd745ee811484e8a2dd9813a78c8fdae9b69f75df5d9c22846949edb4b3/googleapis/google-cloud-python/issues/405 |
| og:image:alt | All the demos and guides shows how to access cloud datastore from python on GCE or from local machine, but is it possible to access cloud datastore from python hosted on a GAE ? from gcloud import ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sasivarunan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width