Fast API Endpoints Cache
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 49
- Fork
- 124
- Merge trung bình
- 4 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OCA/web-api
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Migration to version 20.0Đang mởhelp wanted no stale work in progress
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
OCA/web-api#120 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Migration to version 19.0Đang mởhelp wanted no stale work in progress
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
OCA/web-api#116 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Migration to version 18.0Đang mởhelp wanted no stale work in progress
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
OCA/web-api#64 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
add entry to blockĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"Có thể đã có người làm @0z5a đã nhận hôm nay. Đang mởneeds-triage
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
plot_graph crashes when a mesh node has no m2m edgeCó thể đã có người làm @tygvi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
mllam/neural-lam#883 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
future-agi/future-agi#4092 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
transcript analytics: a text whose only protected spans the prose pass redacts is withheld wholeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
WingedGuardian/GENesis-AGI#4641 ·
Maintainer thường phản hồi trong vòng 1 ngày