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

Method execute

redis/cluster.py:4009–4017  ·  view source on GitHub ↗
(self, raise_on_error: bool = True)

Source from the content-addressed store, hash-verified

4007 raise r
4008
4009 def execute(self, raise_on_error: bool = True) -> List[Any]:
4010 stack = self._command_queue
4011 if not stack:
4012 return []
4013
4014 try:
4015 return self.send_cluster_commands(stack, raise_on_error)
4016 finally:
4017 self.reset()
4018
4019 def reset(self):
4020 """

Callers

nothing calls this directly

Calls 2

send_cluster_commandsMethod · 0.95
resetMethod · 0.95

Tested by

no test coverage detected