code: def test_function_step_to_request(
      mock_job_settings_ctr, mock_compile, *args
  ):
      s3_root_uri = "s3://bucket"
      mock_job_settings = Mock()
      mock_job_settings.s3_root_uri = s3_root_uri
      mock_job_settings.job_name_prefix = "sum"
  
      mock_job_settings_ctr.return_value = mock_job_settings
  
      @step(
          name="step_name",
          display_name="step_display_name",
          description="step_description",
      )
      def sum(a, b):
          return a + b
  
      step_output = sum(2, 3)
  
      assert step_output._step.to_request() == {
          "Name": "step_name",
          "Type": "Training",
          "Description": "step_description",
          "DisplayName": "step_display_name",
          "Arguments": SOME_TRAINING_REQUEST,
      }
  
      mock_compile.assert_called_once_with(
          job_settings=mock_job_settings,
          job_name="sum",
          s3_base_uri=s3_root_uri
          + "/"
          + MOCKED_PIPELINE_CONFIG.pipeline_name,
          func=ANY,
          func_args=(2, 3),
          func_kwargs={},
          serialized_data=step_output._step._serialized_data,
      )
  
      mock_job_settings_ctr.assert_called_once()
  
imports: from __future__ import absolute_import
  from copy import deepcopy
  import pytest
  import re
  from mock import patch, Mock, ANY
  from typing import List, Tuple
  from mock.mock import MagicMock
  from sagemaker.workflow.parameters import ParameterInteger
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.workflow.functions import Join
  from sagemaker.workflow.step_outputs import get_step
  from sagemaker.workflow.function_step import DelayedReturn, step
  from sagemaker.workflow.retry import StepRetryPolicy, StepExceptionTypeEnum
  from sagemaker.workflow.pipeline_context import _PipelineConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
label_desc: Use image node_id 6 for calling a global function with example usage: test_function_step_to_request(mock_job_settings_ctr, mock_compile) and returns: unknown