code: def executor(tmp_path: Path) -> LocalExecutor:
      return LocalExecutor(tmp_path)
  
imports: import time
  from pathlib import Path
  import pytest
  from .local.local import LocalExecutor
label_desc: Use image node_id 1 for calling a global function with example usage: executor(tmp_path) and returns: LocalExecutor