Skip to content

fix: FastAPI 0.89.0 upgrade

Mario Oenning requested to merge moson/aurweb:fix-fastapi-0.89.0 into master

With the new 0.89.0 version, FastAPI introduced the possibility of
defining the "response_model" via type annotations for functions.

A "response_model" must inherit from the pydantic "BaseModel" class.

Now we have a couple of places where "starlette.responses.Response"
is annotated as the return type. 🤔

-> Removing those return type annotations...


Signed-off-by: moson-mo

Merge request reports