class_docstr: The selective execution configuration, which defines a subset of pipeline steps to run in
  
  another SageMaker pipeline run.
docstr: Convert `SelectiveExecutionConfig` object to request dict.
docstr_tok: ["Convert","`","SelectiveExecutionConfig","`","object","to","request","dict","."]
code: def to_request(self) -> RequestType:
      """Convert `SelectiveExecutionConfig` object to request dict."""
      request = {}
  
      if self.source_pipeline_execution_arn is not None:
          request[
              "SourcePipelineExecutionArn"
          ] = self.source_pipeline_execution_arn
  
      if self.selected_steps is not None:
          request[
              "SelectedSteps"
          ] = self._build_selected_steps_from_list()
  
      return request
  
imports: from __future__ import absolute_import
  from typing import List
  from sagemaker.workflow.entities import RequestType
label_desc: Use image node_id 3 for calling the SelectiveExecutionConfig obj's underlying member method code with example usage: obj.to_request() and returns: request