code: def joblib_dumper(data, file_name=None):
      """Return a dumper to dump a model with pickle."""
      if not file_name:
          file_name = "_data.pkl"
  
      def model_dumper(save_to):
          full_path = Path(save_to) / file_name
          ensure_folder(Path(save_to))
          with open(full_path, "wb") as fout:
              joblib.dump(data, fout, protocol=4)
  
          model_spec = {"model_type": "joblib", "file_name": file_name}
          return model_spec
  
      return model_dumper
  
file_path: recommenders/contrib/azureml_designer_modules/entries/train_sar_entry.py
imports: import argparse
  from distutils.util import strtobool
  import time
  import joblib
  from pathlib import Path
  from recommenders.models.sar import SAR
  from azureml.studio.core.logger import module_logger
  from azureml.studio.core.utils.fileutils import ensure_folder
  from azureml.studio.core.io.data_frame_directory import load_data_frame_from_directory
  from azureml.studio.core.io.model_directory import save_model_to_directory
label_desc: Use image node_id 1 for calling a global function with example usage: joblib_dumper(data, file_name) and returns: model_dumper, model_spec