Fast API Endpoints Cache
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reading the endpoint_route_handler module and trace how it discovers endpoints created in the data directory during installation. Reproduce the steps with a FastAPI module and check whether its routes and docs URL work before updating the custom module. Done means the endpoint is accessible immediately after installation without a module update.
由索引模型根据 Issue 内容生成。
描述
Module
endpoint_route_handler
Describe the bug
when I try to create a new app with such an endpoint as root_path into data dir and some routes, it's required to update the module to be able to access
this endpoint
To Reproduce
Affected versions:
-
16.0: yes -
18.0: no
Steps to reproduce the behavior:
- create a new module depending on fastapi with some routes
- create an endpoint in the data dir to be created during the installation
- try to access even the docs URL it'll not founded
- go to apps -> update your custom module
- try to access it again, it works fine now
Expected behavior
the newly created endpoint should work properly without the need to update the module
Additional context
Moved from @hassan510-cmd's issue https://github.com/OCA/rest-framework/issues/391 as requested:
Yes, is certainly coming from endpoint_route_handler. Can you open an issue on OCA/web-api specifying the affected versions?
Originally posted by @simahawk in #391
- 主要语言
- Python
- 星标
- 49
- 派生
- 124
- 平均合并
- 4 天 13 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OCA/web-api 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
-
help wanted no stale work in progress
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 22/100
维护者通常 1 天内回复
-
help wanted no stale work in progress
难度 3/5 1-2 天 新手友好度 50/100
维护者通常 1 天内回复
-
help wanted no stale work in progress
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"可能已有人在做 @0z5a 今天认领。 未关闭needs-triage
难度 2/5 半天 新手友好度 72/100
维护者通常 2 天内回复
-
plot_graph crashes when a mesh node has no m2m edge可能已有人在做 @tygvi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
mllam/neural-lam#883 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
future-agi/future-agi#4092 · 1 条评论 ·
维护者通常 1 天内回复
-
transcript analytics: a text whose only protected spans the prose pass redacts is withheld whole未关闭
难度 1/5 1 小时以内 新手友好度 82/100
WingedGuardian/GENesis-AGI#4641 ·
维护者通常 1 天内回复