code: def __init__(self, debug=False, **kwargs):
      TempDir.__init__(self, **kwargs)
      self._debug = debug
  
imports: import os.path
  import shutil
  import sys
  import tempfile
  from contextlib import contextmanager
  from whoosh.filedb.filestore import FileStorage
  from whoosh.util import now, random_name
label_desc: Use image node_id 1 to create a new TempStorage object from inherited base classes: TempDir with example: obj = TempStorage(debug)