code: def test_save_with_parameter_of_run_type(
      s3_source_dir_download, s3_source_dir_upload, mock_tc_save
  ):
      session = Mock()
      s3_base_uri = random_s3_uri()
      session.sagemaker_client.search.return_value = {"Results": []}
  
      run = Run(
          experiment_name=TEST_EXP_NAME,
          run_name=TEST_RUN_NAME,
          experiment_display_name=TEST_EXP_DISPLAY_NAME,
          run_display_name=TEST_RUN_DISPLAY_NAME,
          sagemaker_session=session,
      )
      stored_function = StoredFunction(
          sagemaker_session=session,
          s3_base_uri=s3_base_uri,
          s3_kms_key=KMS_KEY,
          hmac_key=HMAC_KEY,
      )
      with pytest.raises(SerializationError) as e:
          stored_function.save(log_bigger, 1, 2, run)
          assert isinstance(e.__cause__, NotImplementedError)
  
imports: from __future__ import absolute_import
  import pytest
  import random
  import string
  from mock import MagicMock, Mock, patch
  from sagemaker.experiments.experiment import Experiment
  from sagemaker.experiments.run import Run
  from sagemaker.experiments.trial import _Trial
  from sagemaker.experiments.trial_component import _TrialComponent
  from sagemaker.remote_function.core.stored_function import StoredFunction, JSON_SERIALIZED_RESULT_KEY, _SerializedData
  from sagemaker.remote_function.core.serialization import deserialize_obj_from_s3, serialize_obj_to_s3, CloudpickleSerializer
  from sagemaker.remote_function.core.pipeline_variables import Context, convert_pipeline_variables_to_pickleable
  from sagemaker.remote_function.errors import SerializationError
  from sagemaker.workflow.function_step import _FunctionStep, DelayedReturn
  from sagemaker.workflow.parameters import ParameterFloat
  from sagemaker.utils import sagemaker_timestamp
  from tests.unit.sagemaker.experiments.helpers import TEST_EXP_DISPLAY_NAME, TEST_EXP_NAME, TEST_RUN_DISPLAY_NAME, TEST_RUN_NAME, mock_tc_load_or_create_func, mock_trial_load_or_create_func
label_desc: Use image node_id 7 for calling a global function with example usage: test_save_with_parameter_of_run_type(s3_source_dir_download, s3_source_dir_upload, mock_tc_save) without return types