class_docstr: RESP2 protocol implementation
class_docstr_tok: ["RESP2","protocol","implementation"]
code: def read_response(self, disable_decoding=False):
      pos = self._buffer.get_pos() if self._buffer else None
      try:
          result = self._read_response(
              disable_decoding=disable_decoding
          )
      except BaseException:
          if self._buffer:
              self._buffer.rewind(pos)
          raise
      else:
          self._buffer.purge()
          return result
  
file_path: catboost/contrib/python/redis/py3/redis/_parsers/resp2.py
imports: from typing import Any, Union
  from ..exceptions import ConnectionError, InvalidResponse, ResponseError
  from ..typing import EncodableT
  from .base import _AsyncRESPBase, _RESPBase
  from .socket import SERVER_CLOSED_CONNECTION_ERROR
label_desc: Use image node_id 1 for calling the _RESP2Parser obj's underlying member method code with example usage: obj.read_response(disable_decoding) and returns: result