code: def temp_workdir():
      orig_cwd = os.getcwd()
      try:
          with tempfile.TemporaryDirectory() as tmpdir:
              os.chdir(tmpdir)
              yield tmpdir
      finally:
          os.chdir(orig_cwd)
  
label_desc: Use image node_id 1 for calling a global function with example usage: temp_workdir() without return types