0

I have a python script that add some entities to Cloud Datastore Local Development Server using Python protocol buffers library, and I would like to:

  1. Instead of using Cloud Datastore Local Development use dev_appserver datastore

or

  1. Make somehow dev_appserver use datastore file created by Cloud Datastore Local Development Server

I know there is an option to set the datastore file: --datastore-path DATASTORE_PATH Path to a file used to store datastore contents

But I couldn't make it work.

Any thoughts? Thanks

2
  • dev_appserver uses a sqlite file format and stores data in a special format that it understands. I doubt it would be compatible with the output of the Cloud Datastore dev server. Why do you need to switch from Cloud Datastore to the app engine datastore? That information may help you get a better answer. Commented Jul 23, 2015 at 15:51
  • These Cloud Datastore entities are the result of a compute process made on compute engine. So the idea is to be able to view them using appengine. Commented Jul 23, 2015 at 16:01

1 Answer 1

1

This is not currently supported, but there is an open feature request: https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/21

You can follow that issue for updates.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! I'll follow up that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.