MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / close

Method close

lib/sqlalchemy/ext/asyncio/engine.py:483–490  ·  view source on GitHub ↗

Close this :class:`_asyncio.AsyncConnection`. This has the effect of also rolling back the transaction if one is in place.

(self)

Source from the content-addressed store, hash-verified

481 await greenlet_spawn(self._proxied.rollback)
482
483 async def close(self) -> None:
484 """Close this :class:`_asyncio.AsyncConnection`.
485
486 This has the effect of also rolling back the transaction if one
487 is in place.
488
489 """
490 await greenlet_spawn(self._proxied.close)
491
492 async def aclose(self) -> None:
493 """A synonym for :meth:`_asyncio.AsyncConnection.close`.

Callers 3

acloseMethod · 0.95
__aexit__Method · 0.95
streamMethod · 0.45

Calls 1

greenlet_spawnFunction · 0.85

Tested by

no test coverage detected