Sobes.tech
Middle+

How does `Depends(get_db)` work in the context of FastAPI endpoint, and why is dependency injection mechanism needed?