code: def _delete_run(src):
      assert src and src != os.path.sep, src
      assert src.startswith(runs_dir()) or src.startswith(
          runs_dir(deleted=True)
      ), src
      log.debug("deleting %s", src)
      shutil.rmtree(src)
  
imports: import errno
  import functools
  import logging
  import os
  import shutil
  import tempfile
  from guild import config
  from guild import run
  from guild import util
label_desc: Use image node_id 27 for calling a global function with example usage: _delete_run(src) without return types