AntiPattern
Shared Endpoint Dependency Bugs
captured-shared-model-dependency
FastAPI endpoints in a Python monolith can capture shared state incorrectly or build dependencies with the wrong closure, so routers reuse the wrong model/callable and validation or app state resolution becomes nondeterministic.