Fast API Endpoints Cache
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 49
- Forks
- 124
- Merge medio
- 4 d 13 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OCA/web-api
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Migration to version 20.0Abiertohelp wanted no stale work in progress
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
OCA/web-api#120 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Migration to version 19.0Abiertohelp wanted no stale work in progress
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
OCA/web-api#116 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Migration to version 18.0Abiertohelp wanted no stale work in progress
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
OCA/web-api#64 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de OCA/web-api
Issues similares
-
plot_graph crashes when a mesh node has no m2m edgePosiblemente ocupada @tygvi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
mllam/neural-lam#883 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
enhancement possible-duplicate
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
AOSSIE-Org/PictoPy#1715 · 2 comentarios ·
Los mantenedores suelen responder en 6 días
-
SQLite connector omits generated columns from the catalog, and drops relationships sourced on themAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/auto-ontology#511 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ethereum/execution-specs#3996 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cpp-best-practices/project_validator#267 ·
Los mantenedores suelen responder en 1 día