code: def temp_path(path):
      class Remover(object):
          def __init__(self, path):
              self.path = path
  
          def __enter__(self):
              return self.path
  
          def __exit__(self, exc_type, exc_value, traceback):
              if _tmp_roots or not _startup_tmp_dir_set:
                  fs.remove_tree_safe(path)
  
      return Remover(path)
  
file_path: catboost/library/python/tmp/__init__.py
imports: import logging
  import tempfile
  import time
  import os
  import shutil
  import contextlib
  import library.python.fs
  import library.python.unique_id
label_desc: Use image node_id 4 for calling a global function with example usage: temp_path(path) and returns: Remover, self