code: def make_remote(tmp_dir, dvc, make_cloud):  # noqa: ARG001
      def _make_remote(name, typ="local", **kwargs):
          cloud = make_cloud(typ)
          tmp_dir.add_remote(name=name, config=cloud.config, **kwargs)
          return cloud
  
      return _make_remote
  
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 10 for calling a global function with example usage: make_remote(tmp_dir, dvc, make_cloud) and returns: _make_remote, cloud