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

Method __init__

redis/client.py:897–899  ·  view source on GitHub ↗
(self, connection_pool)

Source from the content-addressed store, hash-verified

895 command_re = re.compile(r'"(.*?)(?<!\\)"')
896
897 def __init__(self, connection_pool):
898 self.connection_pool = connection_pool
899 self.connection = self.connection_pool.get_connection()
900
901 def __enter__(self):
902 self._start_monitor()

Callers

nothing calls this directly

Calls 1

get_connectionMethod · 0.45

Tested by

no test coverage detected