class_docstr: `_FunctionStep` for SageMaker Pipelines workflows.
  
  An internal step used with ``@step`` decorator to build TrainingJob arguments and
  build a request dict needed for pipeline definition.
docstr: Generates the arguments dictionary that is used to call `create_training_job`.
code: def arguments(self) -> RequestType:
      """Generates the arguments dictionary that is used to call `create_training_job`."""
      from sagemaker.remote_function.job import _Job
  
      step_compilation_context = load_step_compilation_context()
  
      job_settings = self._job_settings
      base_job_name = _Job._get_job_name(job_settings, self.func)
      s3_base_uri = (
          s3_path_join(
              job_settings.s3_root_uri,
              step_compilation_context.pipeline_name,
          )
          if step_compilation_context
          else job_settings.s3_root_uri
      )
      request_dict = _Job.compile(
          job_settings=job_settings,
          job_name=base_job_name,
          s3_base_uri=s3_base_uri,
          func=self.func,
          func_args=self.func_args,
          func_kwargs=self.func_kwargs,
          serialized_data=self._serialized_data,
      )
      # Continue to pop job name if not explicitly opted-in via config
      request_dict = trim_request_dict(
          request_dict, "TrainingJobName", step_compilation_context
      )
      return request_dict
  
imports: from __future__ import absolute_import
  import logging
  from functools import wraps
  from typing import Dict, List, Optional, Union, Callable, get_origin, get_type_hints, TYPE_CHECKING
  from sagemaker.workflow.functions import JsonGet, Join
  from sagemaker.workflow.entities import RequestType, PipelineVariable
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.workflow.retry import RetryPolicy
  from sagemaker.workflow.steps import Step, ConfigurableRetryStep, StepTypeEnum
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.step_outputs import StepOutput
  from sagemaker.workflow.utilities import trim_request_dict, load_step_compilation_context
  from sagemaker.s3_utils import s3_path_join
  from sagemaker.utils import unique_name_from_base_uuid4, format_tags, Tags
label_desc: Use image node_id 7 for calling the _FunctionStep obj's underlying member method code with example usage: obj.arguments() and returns: request_dict