fastapi-utils icon indicating copy to clipboard operation
fastapi-utils copied to clipboard

Reusable utilities for FastAPI

Results 97 fastapi-utils issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** There is no way to include dependencies in a `@repeat_every` function (aka `service = Depends(get_service)`). This means if you've built...

enhancement

**Describe the bug** Cant import response module. Not available in Windows Python3.8

bug

Hi @dmontagu! This is my initial attempt at defining both the base_route and the crud_base. Both of these can be used to start a CRUD API and adds filtering and...

Python 3.7 Fastapi and fastapi-utils the latest Ubuntu 18.04 It seems that `InferringRouter` create `response_model` in case when this model has not expected Example, this code is ok: ``` from...

bug

Hi @dmontagu Nice work here. I have developed some CRUD tools, using the FastAPI postgres template "CRUD" base that works together with your CBV. I have also added sorting and...

enhancement

It is possible for `inferring_router` to raise an exception if a function uses a return type that is not a valid `response_model`. An example is an endpoint that returns `Response`...

**Describe the bug** FastAPI's `default_response_class` parameter is ignored by class-based views. This is important when, for example, trying to override the default JSON encoder. **To Reproduce** Steps to reproduce the...

bug