code: def tmpdir(preserve=False, prefix="arrow-archery-"):
      if preserve:
          yield mkdtemp(prefix=prefix)
      else:
          with TemporaryDirectory(prefix=prefix) as tmp:
              yield tmp
  
label_desc: Use image node_id 1 for calling a global function with example usage: tmpdir(preserve, prefix) without return types