code: def _get_model_package(model):
      """Return the package name of the passed model."""
      module = inspect.getmodule(model)
      module_name = module.__name__.partition(".")[0]
      model_package = sys.modules[module_name].__package__
      return model_package
  
file_path: responsible-ai-toolbox/responsibleai/responsibleai/_internal/_forecasting_wrappers.py
imports: import inspect
  import sys
  import pandas
  from ml_wrappers.model.base_wrapped_model import BaseWrappedModel
  from raiutils.models import Forecasting, ModelTask
label_desc: Use image node_id 1 for calling a global function with example usage: _get_model_package(model) and returns: model_package