MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / acquire_connection

Method acquire_connection

tortoise/backends/oracle/client.py:64–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 return TransactionContextPooled(TransactionWrapper(self), self._pool_init_lock)
63
64 def acquire_connection(self) -> ConnectionWrapper | PoolConnectionWrapper:
65 return OraclePoolConnectionWrapper(self, self._pool_init_lock)
66
67 async def db_create(self) -> None:
68 await self.create_connection(with_db=False)

Callers 2

execute_scriptMethod · 0.95
execute_insertMethod · 0.95

Calls 1

Tested by

no test coverage detected