code: def raw(self):
      # instead of returning the byte stream from the url
      # we just give back an openend filehandle
      stream = open(self._raw, "rb")
      if self.return_partial_stream:
          bytes = stream.read()
          stream_first_part = BytesIO(bytes[:1024])
          MockedResponsePartialStream.return_partial_stream = False
          return stream_first_part
      else:
          return stream
  
imports: import json
  import os
  import sys
  import tempfile
  import unittest
  import warnings
  from io import BytesIO
  from unittest import mock
  import numpy
  import tqdm
  from PIL import Image
  import lightly
label_desc: Use image node_id 1 for calling the MockedResponsePartialStream obj's underlying member method code with example usage: obj.raw() and returns: stream_first_part, stream