code: def test_resolve_pipeline_variables(
      mock_deserializer,
      func_args,
      func_kwargs,
      expected_resolved_args,
      expected_resolved_kwargs,
  ):
      s3_base_uri = f"s3://my-bucket/{PIPELINE_NAME}"
      context = Context(
          property_references={
              "Parameters.parameter_1": "1",
              "Parameters.parameter_2": "2.0",
              "Parameters.parameter_3": "string",
              "Parameters.parameter_4": "true",
              "Execution.ExecutionId": "execution-id",
              "Steps.step_name.TrainingJobName": "a-cool-name",
          },
      )
  
      mock_deserializer.return_value = (1.0, 2.0, 3.0)
  
      resolved_args, resolved_kwargs = resolve_pipeline_variables(
          context,
          func_args,
          func_kwargs,
          hmac_key="1234",
          s3_base_uri=s3_base_uri,
          sagemaker_session=None,
      )
  
      assert resolved_args == expected_resolved_args
      assert resolved_kwargs == expected_resolved_kwargs
      mock_deserializer.assert_called_once_with(
          sagemaker_session=None,
          s3_uri=f"{s3_base_uri}/execution-id/sub-folder-1",
          hmac_key="1234",
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/remote_function/core/test_pipeline_variables.py
imports: from __future__ import absolute_import
  import pytest
  from mock import patch, Mock
  from sagemaker.remote_function.core.pipeline_variables import _ParameterInteger, _ParameterFloat, _ParameterString, _ParameterBoolean, _ExecutionVariable, _Properties, _DelayedReturn, Context, _ParameterResolver, _ExecutionVariableResolver, _DelayedReturnResolver, resolve_pipeline_variables, convert_pipeline_variables_to_pickleable, _S3BaseUriIdentifier
  from sagemaker.workflow.parameters import ParameterInteger, ParameterFloat, ParameterString, ParameterBoolean
  from sagemaker.workflow.function_step import DelayedReturn
  from sagemaker.workflow.properties import Properties
label_desc: Use image node_id 4 for calling a global function with example usage: test_resolve_pipeline_variables(mock_deserializer, func_args, func_kwargs, expected_resolved_args, expected_resolved_kwargs) without return types