Using Google Cloud Datastore with NDB API?

后端 未结 2 352
伪装坚强ぢ
伪装坚强ぢ 2021-01-19 11:13

There is a lot of info on using NDB API with Google App Engine Datastore but I can\'t find any info on how to use NDB with Google Cloud Datastore. The only module I found is

相关标签:
2条回答
  • 2021-01-19 11:37

    NDB support outside of App Engine (using Google Cloud Datastore) is currently in development.

    UPDATE: Check out the NDB development discussion on GitHub.

    0 讨论(0)
  • 2021-01-19 11:42

    You might want to try using gcloud.datastore (pip install gcloud).

    Docs: http://googlecloudplatform.github.io/gcloud-python/

    Code: https://github.com/GoogleCloudPlatform/gcloud-python

    0 讨论(0)
提交回复
热议问题