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

Method parse_response

redis/client.py:1982–1988  ·  view source on GitHub ↗
(self, connection, command_name, **options)

Source from the content-addressed store, hash-verified

1980 exception.args = (msg,) + exception.args[1:]
1981
1982 def parse_response(self, connection, command_name, **options):
1983 result = Redis.parse_response(self, connection, command_name, **options)
1984 if command_name in self.UNWATCH_COMMANDS:
1985 self.watching = False
1986 elif command_name == "WATCH":
1987 self.watching = True
1988 return result
1989
1990 def load_scripts(self):
1991 # make sure all scripts that are about to be run on this pipeline exist

Callers 2

_execute_transactionMethod · 0.95
_execute_pipelineMethod · 0.95

Calls 1

parse_responseMethod · 0.45

Tested by

no test coverage detected