JasperSui/fastapi-injectable
A seamless solution for using FastAPI's dependency injection system outside of route handlers, enabling painless reuse of dependencies in CLI tools, background tasks, and other non-HTTP contexts.
1 best points · 0 comments · 1 Hacker News post · 297 GitHub stars · View on GitHub
Hacker News discussions
- Show HN: fastapi-injectable – Use FastAPI Depends() anywhere even outside routes (1 points, 0 comments, by suiyang03, 2024-12-20)