GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-python

Consider adding support for more web frameworks

未关闭
#194 12 条评论 5 个 reaction 已指派 1 人 已被 @jama22 认领 在 GitHub 查看
enhancement
主要语言
Python
星标
968
派生
128
PR 合并指标
30 天内没有已合并 PR

描述

While Flask is a decent choice as a default implementation, it may be beneficial to allow using different frameworks as the baseline for a Cloud Function.

I assume the following ones could be some great candidates:
* https://fastapi.tiangolo.com/
* https://www.tornadoweb.org/en/stable/
* https://sanic.readthedocs.io/en/latest/

We're also considering having framework-specific implementations of CloudEvents (e.g. FastAPI uses Pydantic by default and there's an open [PR](https://github.com/cloudevents/sdk-python/pull/182) for Pydantic support in CloudEvents).
This can probably be handled as "extras" for the main library.

Is it smth the maintainers may consider?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。