code: def total_resources(self) -> Dict[str, float]:
      return {
          r.resource_name: r.total for r in self.cluster_resource_usage
      }
  
imports: import re
  from dataclasses import dataclass, field
  from enum import Enum
  from typing import Dict, List, Optional
  from ray.core.generated.instance_manager_pb2 import Instance
label_desc: Use image node_id 1 for calling the ClusterStatus obj's underlying member method code with example usage: obj.total_resources() and returns: unknown