首页 > 解决方案 > 如何从python appengine更新firestore

问题描述

我想从 appengine python 更新 firestore。python中有没有这个库?

我正在尝试使用 firebase-admin,但出现导入错误。如何在 python appengine 中使用 firebase-admin ?

标签: pythonfirebasegoogle-app-engine

解决方案


您可以在此处此处尝试测试版的 Google Cloud Firestore 以及适用于 Python的Google Cloud Client Libraries 。

我还建议您查看“<a href="https://cloud.google.com/firestore/docs/how-to#top_of_page" rel="nofollow noreferrer">how-to”指南以管理 Firestore 上的数据带有一些示例代码来更新 Firestore。

公开文档没有提及使用 Firebase-admin 更新 Firestore 的任何方法。不过,我建议查看文档,了解有关使用App Engine 和 Firebase开发的项目的更多信息。


推荐阅读