code: def get_all_metric_containers(
      globals_dict: dict, raise_errors: bool = True
  ) -> Dict[str, ClusterMetricContainer]:
      return pycaret.containers.base_container.get_all_containers(
          globals(), globals_dict, ClusterMetricContainer, raise_errors
      )
  
imports: from typing import Any, Dict, Optional, Union
  from sklearn import metrics
  from sklearn.metrics._scorer import _BaseScorer
  import pycaret.containers.base_container
  import pycaret.internal.metrics
  from pycaret.containers.metrics.base_metric import MetricContainer
label_desc: Use image node_id 1 for calling a global function with example usage: get_all_metric_containers(globals_dict, raise_errors) and returns: pycaret