class_docstr: SingleDocumentRequest represents a request containing only 1 document, which is used for streaming endpoints.
  Similar to DataRequest but has a `document` field instead of `data`
docstr: Decompress the buffer into a DataRequestProto without docs, it is useful if one want to access the parameters
  or the header of the proto without the cost of deserializing the Docs.
docstr_tok: ["Decompress","the","buffer","into","a","DataRequestProto","without","docs",",","it","is","useful","if","one","want","to","access","the","parameters","or","the","header","of","the","proto","without","the","cost","of","deserializing","the","Docs","."]
code: def _decompress_wo_data(self):
      """Decompress the buffer into a DataRequestProto without docs, it is useful if one want to access the parameters
      or the header of the proto without the cost of deserializing the Docs.
      """
  
      # Under the hood it used a different DataRequestProto (the DataRequestProtoWoData) that will just ignore the
      # bytes from the bytes related to the docs that are store at the end of the Proto buffer
      self._pb_body = jina_pb2.DataRequestProtoWoData()
      self._pb_body.ParseFromString(self.buffer)
      self.buffer = None
  
imports: import copy
  from typing import Dict, Optional, Type, TypeVar, Union
  from google.protobuf import json_format
  from jina._docarray import DocumentArray, Document, docarray_v2
  from jina.excepts import BadRequestType
  from jina.helper import random_identity, typename
  from jina.proto import jina_pb2
  from jina.types.request import Request
label_desc: Use image node_id 10 for calling the SingleDocumentRequest obj's underlying member method code with example usage: obj._decompress_wo_data() without return types