Move from Flask to FastAPI for the API #2567
Labels
area/other
Related to some other area/category than the specified ones.
complexity/single-task
Regular task, should be done within days.
kind/internal
Doesn't affect users directly, may be e.g. infrastructure, DB related.
Description
Since we only make use of Flask for the API we consider using something that is built for API development. I propose using something like FastAPI for two reasons:
There are some huge changes that would need to be addressed
However there is an option that we can utilize to have a gradual move
/api/
and running FastAPI on/api/v1
and/api/nightly/
or something similarBenefit
/api/v1
/api/v2
,/api/latest
)Importance
Medium-High importance
Gives us two main impactful things that is otherwise difficult to handle in the current server and API
As well as forcing us to make good API decisions regarding versioning, and proper pagination structure
What is the impacted category (job)?
General
Workaround
Participation
The text was updated successfully, but these errors were encountered: