db# Database Connections get_async_session() async # Yield an AsyncSession Used by FastAPI Depends Source code in zoo/db.py 23 24 25 26 27 28 29 30 31 32 33async def get_async_session() -> AsyncGenerator[AsyncSession, None]: """ Yield an AsyncSession Used by FastAPI Depends """ try: async with async_session() as session: yield session finally: await session.close()