MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / _shutdown_cluster

Function _shutdown_cluster

asyncpg/_testbase/__init__.py:262–266  ·  view source on GitHub ↗
(cluster)

Source from the content-addressed store, hash-verified

260
261
262def _shutdown_cluster(cluster):
263 if cluster.get_status() == 'running':
264 cluster.stop()
265 if cluster.get_status() != 'not-initialized':
266 cluster.destroy()
267
268
269def create_pool(dsn=None, *,

Callers

nothing calls this directly

Calls 3

get_statusMethod · 0.45
stopMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…