MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / close_all

Method close_all

lib/sqlalchemy/ext/asyncio/session.py:1108–1110  ·  view source on GitHub ↗

Close all :class:`_asyncio.AsyncSession` sessions.

(cls)

Source from the content-addressed store, hash-verified

1106 ":func:`_asyncio.close_all_sessions`.",
1107 )
1108 async def close_all(cls) -> None:
1109 """Close all :class:`_asyncio.AsyncSession` sessions."""
1110 await close_all_sessions()
1111
1112 async def __aenter__(self: _AS) -> _AS:
1113 return self

Callers 2

Calls 1

close_all_sessionsFunction · 0.70

Tested by 2