code: def workspace(make_workspace, request):
      typ = getattr(request, "param", "local")
      return make_workspace("workspace", typ=typ)
  
imports: import os
  import pathlib
  import subprocess
  from typing import Dict, Tuple
  import pytest
  from .scripts import copy_script
label_desc: Use image node_id 18 for calling a global function with example usage: workspace(make_workspace, request) and returns: make_workspace