MCPcopy
hub / github.com/redis/redis-py / get_connection

Function get_connection

redis/cluster.py:115–116  ·  view source on GitHub ↗
(redis_node: Redis, *args, **options)

Source from the content-addressed store, hash-verified

113 version="5.3.0",
114)
115def get_connection(redis_node: Redis, *args, **options) -> Connection:
116 return redis_node.connection or redis_node.connection_pool.get_connection()
117
118
119def parse_scan_result(command, res, **options):

Calls 1

get_connectionMethod · 0.45

Tested by

no test coverage detected