Add generic WSGI / ASGI middlewares for request logging
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 15/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
Compare the existing request.summary logging in src/dockerflow/django/middleware.py, src/dockerflow/fastapi/middleware.py, src/dockerflow/flask/app.py and src/dockerflow/sanic/app.py to see which fields they share. Then decide which WSGI or ASGI interface the generic middleware should target, since the issue leaves that open. Done would be a framework-agnostic middleware that emits the same summary, with tests. Expect a design discussion before any code, and the issue has been idle for about 890 days.
由索引模型根据 Issue 内容生成。
描述
Each framework supported by this package has its own implementation for request.summary logging.
However, since each framework is built on server standards (WSGI / ASGI), it'd be possible to write middleware that targets these standards (WSGI, ASGI e.g.), rather than the frameworks themselves. This would make it so that this package could support any framework that's compatible with WSGI and/or ASGI.
- 主要语言
- Python
- 星标
- 41
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla-services/python-dockerflow 的其他 Issue
-
难度 3/5 半天 新手友好度 15/100
mozilla-services/python-dockerflow#119 · 1 条评论 ·
-
难度 2/5 1 小时以内 新手友好度 15/100
mozilla-services/python-dockerflow#117 · 1 条评论 ·
-
难度 3/5 半天 新手友好度 62/100
-
难度 5/5 一周以上 新手友好度 12/100
-
难度 3/5 1-2 天 新手友好度 35/100
查看 mozilla-services/python-dockerflow 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
WingedGuardian/GENesis-AGI#3375 ·
维护者通常 1 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 75/100
githubnext/gh-aw-workshop#4601 ·
维护者通常 1 天内回复
-
approved Good First Issue scope: docs
难度 1/5 1 小时以内 新手友好度 85/100
hiero-ledger/hiero-sdk-python#2730 · 3 条评论 ·
维护者通常 1 天内回复