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

Method parse_response

redis/asyncio/client.py:1982–1990  ·  view source on GitHub ↗
(
        self, connection: Connection, command_name: Union[str, bytes], **options
    )

Source from the content-addressed store, hash-verified

1980 exception.args = (msg,) + exception.args[1:]
1981
1982 async def parse_response(
1983 self, connection: Connection, command_name: Union[str, bytes], **options
1984 ):
1985 result = await super().parse_response(connection, command_name, **options)
1986 if command_name in self.UNWATCH_COMMANDS:
1987 self.watching = False
1988 elif command_name == "WATCH":
1989 self.watching = True
1990 return result
1991
1992 async def load_scripts(self):
1993 # 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