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

Method create_pool

asyncpg/_testbase/__init__.py:383–389  ·  view source on GitHub ↗
(self, pool_class=pg_pool.Pool,
                    connection_class=pg_connection.Connection, **kwargs)

Source from the content-addressed store, hash-verified

381 super().tearDown()
382
383 def create_pool(self, pool_class=pg_pool.Pool,
384 connection_class=pg_connection.Connection, **kwargs):
385 conn_spec = self.get_connection_spec(kwargs)
386 pool = create_pool(loop=self.loop, pool_class=pool_class,
387 connection_class=connection_class, **conn_spec)
388 self._pools.append(pool)
389 return pool
390
391
392class ProxiedClusterTestCase(ClusterTestCase):

Callers

nothing calls this directly

Calls 2

get_connection_specMethod · 0.95
create_poolFunction · 0.70

Tested by

no test coverage detected