MCPcopy
hub / github.com/tortoise/tortoise-orm / _post_connect

Method _post_connect

tortoise/backends/base/client.py:146–148  ·  view source on GitHub ↗

Called after pool/connection is created. Records the bound loop.

(self)

Source from the content-addressed store, hash-verified

144 return self._bound_loop is current
145
146 async def _post_connect(self) -> None:
147 """Called after pool/connection is created. Records the bound loop."""
148 self._bound_loop = asyncio.get_running_loop()
149
150 async def create_connection(self, with_db: bool) -> None:
151 """

Callers 5

create_connectionMethod · 0.80
create_connectionMethod · 0.80
create_connectionMethod · 0.80
create_connectionMethod · 0.80
create_connectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected