MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / is_idle

Method is_idle

asyncpg/pool.py:162–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160 return self._con is not None and not self._con.is_closed()
161
162 def is_idle(self) -> bool:
163 return not self._in_use
164
165 async def connect(self) -> None:
166 if self._con is not None:

Callers 1

get_idle_sizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected