code: def __init__(
      self,
      stream: IOBase,
      seek: Optional[int] = 0,
      extension: Optional[str] = None,
  ):
      verify_type("stream", stream, (IOBase, type(None)))
      verify_type("extension", extension, (str, type(None)))
  
      if seek is not None and stream.seekable():
          stream.seek(seek)
      if extension is None:
          extension = (
              "txt" if isinstance(stream, io.TextIOBase) else "bin"
          )
      super().__init__(extension)
  
      self._stream = stream
      self._stream_read = False
  
imports: import abc
  import enum
  import io
  import os
  from functools import wraps
  from io import IOBase
  from typing import Optional, Union
  from neptune.common.exceptions import NeptuneException
  from neptune.exceptions import StreamAlreadyUsedException
  from neptune.internal.utils import verify_type
label_desc: Use image node_id 1 to create a new StreamComposite object from inherited base classes: FileComposite with example: obj = StreamComposite(stream, seek, extension)