code: def write(self, b: bytes, /) -> int | None:
      ...
  
imports: from __future__ import annotations
  import gzip
  import io
  import typing
  from bz2 import BZ2File
  from os.path import splitext
  from ._compression import HAVE_INDEXED_GZIP, IndexedGzipFile, pyzstd
label_desc: Use image node_id 2 for calling the Fileish obj's underlying member method code with example usage: obj.write() without return types