def create_pool(self, **kwargs): conn_spec = self.standby_cluster.get_connection_spec() conn_spec.update(kwargs) return pg_pool.create_pool(loop=self.loop, **conn_spec)
def create_pool(self, **kwargs): conn_spec = self.standby_cluster.get_connection_spec() conn_spec.update(kwargs) return pg_pool.create_pool(loop=self.loop, **conn_spec)
def make_pool(self, data: Dict, **kwargs) -> Pool: return create_pool(**data)
def create_pool(self, **kwargs): addr = self.cluster.get_connection_addr() return pg_pool.create_pool(host=addr[0], port=addr[1], loop=self.loop, **kwargs)
def create_pool(self, **kwargs): addr = self.cluster.get_connection_addr() return pg_pool.create_pool(host=addr[0], port=addr[1], loop=self.loop, **kwargs)