【问题标题】:Google Cloud Datastore: Are its App Engine Libraries usable on Compute Engine?Google Cloud Datastore:它的 App Engine 库可以在 Compute Engine 上使用吗?
【发布时间】:2014-07-01 08:28:39
【问题描述】:

我使用 ndb.Model 和 ndb.PolyModel 为我的 Python App Engine 应用程序构建了一组复杂的 NDB 模型,其中包含大量 StructuredProperty 和专门的 ndb.Property 属性。

是否可以在 Compute Engine 实例上使用可在 App Engine 上运行的 google.ext.ndb 等库?

这样我可以在 App Engine 和 Compute Engine 上使用相同、舒适的 NDB 对象模型来存储和查询数据。

【问题讨论】:

    标签: python google-cloud-datastore


    【解决方案1】:

    NDB 目前不支持 Google Cloud Datastore(您可以从 Compute Engine 调用的 API),但我们正在努力添加它。我们目前没有时间表可以分享,但您可以通过在我们的 GitHub 跟踪器上订阅此问题来接收有关该功能的通知: https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/2

    【讨论】:

    • 太棒了。期待着。我已经订阅了你提到的问题。
    猜你喜欢
    • 2017-04-13
    • 2014-04-10
    • 1970-01-01
    • 2017-04-07
    • 2012-03-25
    • 1970-01-01
    • 2018-02-10
    • 2023-03-30
    • 1970-01-01
    相关资源
    最近更新 更多