code: def get_pos_label(globals_dict: dict):
      if globals_dict.get("pipeline"):
          le = get_label_encoder(globals_dict["pipeline"])
          if le:
              return le.classes_
      elif globals_dict.get("y") is not None:
          known_classes = np.unique(globals_dict["y"].values)
          return known_classes
      return None
  
imports: import traceback
  import warnings
  from typing import Callable
  import numpy
  from sklearn.exceptions import FitFailedWarning
  from sklearn.metrics._scorer import _PredictScorer, _ProbaScorer, _ThresholdScorer
  from sklearn.preprocessing import LabelEncoder
  from sklearn.utils import _safe_indexing
  from pycaret.utils.generic import get_label_encoder
label_desc: Use image node_id 1 for calling a global function with example usage: get_pos_label(globals_dict) and returns: None, le, known_classes