code: def get_model_path(model_artifact_path):
      return model_artifact_path.split("/")[1]
  
file_path: MachineLearningNotebooks/how-to-use-azureml/automated-machine-learning/forecasting-pipelines/scripts/register_model.py
imports: import argparse
  import os
  import uuid
  import shutil
  from azureml.core.model import Model, Dataset
  from azureml.core.run import Run, _OfflineRun
  from azureml.core import Workspace
  import azureml.automl.core.shared.constants
  from azureml.train.automl.run import AutoMLRun
label_desc: Use image node_id 2 for calling a global function with example usage: get_model_path(model_artifact_path) and returns: model_artifact_path