code: def mock_cluster(
      n_workers=1,
      threads_per_worker=1,
      diagnostics_port=8787,
      memory_limit=None,
      **dask_kwarg,
  ):
      return (
          n_workers,
          threads_per_worker,
          diagnostics_port,
          memory_limit,
      )
  
imports: from psutil import virtual_memory
label_desc: Use image node_id 1 for calling a global function with example usage: mock_cluster(n_workers, threads_per_worker, diagnostics_port, memory_limit) and returns: n_workers,  threads_per_worker,  diagnostics_port,  memory_limit