code: def parse_response(self, connection, command_name, **options):
          "Parses a response from the Redis server"
          try:
              response = connection.read_response()
          except ResponseError:
              if EMPTY_RESPONSE in options:
                  return options[EMPTY_RESPONSE]
              raise
          if command_name in self.response_callbacks:
              return self.response_callbacks[command_name](response, **options)
          return responsf parse_response(self, connection, command_name, **options):
          "Parses a response from the Redis server"
          try:
              response = connection.read_response()
          except ResponseError:
              if EMPTY_RESPONSE in options:
                  return options[EMPTY_RESPONSE]
              raise
          if command_name in self.response_callbacks:
              return self.response_callbacks[command_name](response, **options)
          return response
docs: Parses a response from the Redis server