code: def get_pipeline_fit_kwargs(
      pipeline: Pipeline, fit_kwargs: dict
  ) -> dict:
      try:
          model_step = pipeline.steps[-1]
      except Exception:
          return fit_kwargs
  
      if any(
          k.startswith(f"{model_step[0]}__") for k in fit_kwargs.keys()
      ):
          return fit_kwargs
  
      return {f"{model_step[0]}__{k}": v for k, v in fit_kwargs.items()}
  
imports: import platform
  import warnings
  from copy import deepcopy
  from inspect import signature
  import imblearn.pipeline
  import sklearn.pipeline
  from sklearn.base import clone
  from sklearn.utils import _print_elapsed_time
  from sklearn.utils.metaestimators import available_if
  from sklearn.utils.validation import check_memory
  from pycaret.utils._show_versions import _get_deps_info
  from pycaret.utils.generic import get_all_object_vars_and_properties, variable_return
label_desc: Use image node_id 12 for calling a global function with example usage: get_pipeline_fit_kwargs(pipeline, fit_kwargs) and returns: unknown, fit_kwargs, fit_kwargs