code: def _get_cluster_resources_no_autoscaler() -> Dict:
      return ray.cluster_resources()
  
file_path: ray/python/ray/tune/execution/insufficient_resources_manager.py
imports: import logging
  from functools import lru_cache
  import os
  import ray
  import time
  from typing import Dict, Optional, Tuple
  from ray.tune.execution.cluster_info import _is_ray_cluster
  from ray.tune.experiment import Trial
label_desc: Use image node_id 1 for calling a global function with example usage: _get_cluster_resources_no_autoscaler() and returns: ray