code: def create_arguments(
      temp_dir_abs_path, dataset_name, s3_dataset_path=None
  ):
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          "--model-dir", type=str, default=temp_dir_abs_path
      )
      parser.add_argument(
          "--output-data_dir", type=str, default=temp_dir_abs_path
      )
      parser.add_argument(
          "--estimator", type=str, default=temp_dir_abs_path
      )
      parser.add_argument(
          "--s3-dataset", type=str, default=s3_dataset_path
      )
      parser.add_argument("--dataset", type=str, default=dataset_name)
      parser.add_argument(
          "--num-samples", type=int, default=str(NUM_SAMPLES)
      )
      parser.add_argument(
          "--quantiles", type=str, default=str(QUANTILES)
      )
  
      args, _ = parser.parse_known_args()
  
      return args
  
file_path: gluonts/test/nursery/sagemaker_sdk/test_entry_point_scripts.py
imports: import argparse
  import platform
  import tempfile
  from pathlib import Path
  import pytest
  from gluonts.core import serde
  from gluonts.dataset.repository import get_dataset
  from gluonts.mx import SimpleFeedForwardEstimator
  from gluonts.nursery.sagemaker_sdk.defaults import NUM_SAMPLES, QUANTILES
  from gluonts.nursery.sagemaker_sdk.entry_point_scripts.train_entry_point import train
label_desc: Use image node_id 1 for calling a global function with example usage: create_arguments(temp_dir_abs_path, dataset_name, s3_dataset_path) and returns: args