code: def __init__(self):
      if bz2 is not None:
          self.fileobj_factory = bz2.BZ2File
      else:
          self.fileobj_factory = None
  
imports: import io
  import zlib
  from joblib.backports import LooseVersion
label_desc: Use image node_id 1 to create a new BZ2CompressorWrapper object from inherited base classes: CompressorWrapper with example: obj = BZ2CompressorWrapper()