【问题标题】:How to setup FastAPI comunication with firestore through Pyrebase4如何通过 Pyrebase4 设置与 Firestore 的 FastAPI 通信
【发布时间】:2021-01-14 00:05:25
【问题描述】:

我是 FastAPI 和 NoSQL 数据库的新手。 我只使用 SQLAlchemy 与关系数据库 PostgreSQL 一起使用 FastAPI。 这个 NoSQL example 使用 couchbase,我没有找到任何使用 FastAPI 和 Pyrebase4 的信息或示例

有没有一种简单的方法可以将 FastAPI 与 Firestore 连接起来?任何信息都会有所帮助。

【问题讨论】:

    标签: python-3.x firebase firebase-realtime-database fastapi pyrebase


    【解决方案1】:

    我在 FastAPI github 上打开了一个问题寻求帮助:fastapi_issue

    原来 Pyrebase4 不支持 Firestore,只支持实时数据库。

    如果我想处理 Firestore,我的选择是使用 firebase_admin SDK。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-09
      • 2018-02-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-21
      相关资源
      最近更新 更多