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 摘要。