class_docstr: Executor class to execute ConditionStep locally
class_docstr_tok: ["Executor","class","to","execute","ConditionStep","locally"]
code: def execute(self):
      def _block_all_downstream_steps(
          steps: List[Union[Step, StepCollection]]
      ):
          steps_to_block = set()
          for step in steps:
              steps_to_block.update(
                  self.pipline_executor.pipeline_dag.get_steps_in_sub_dag(
                      step
                  )
              )
          self.pipline_executor._blocked_steps.update(steps_to_block)
  
      if_steps = self.step.if_steps
      else_steps = self.step.else_steps
      step_only_arguments = self.pipline_executor._parse_arguments(
          self.step.step_only_arguments, self.step.name
      )
  
      outcome = self._evaluate_conjunction(
          step_only_arguments["Conditions"]
      )
  
      if not outcome:
          _block_all_downstream_steps(if_steps)
      else:
          _block_all_downstream_steps(else_steps)
  
      return dict(Outcome=outcome)
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  import json
  from datetime import datetime
  from typing import Dict, List, Union
  from botocore.exceptions import ClientError
  from sagemaker.workflow.conditions import ConditionTypeEnum
  from sagemaker.workflow.function_step import DelayedReturn
  from sagemaker.workflow.steps import StepTypeEnum, Step
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.workflow.parameters import Parameter
  from sagemaker.workflow.functions import Join, JsonGet, PropertyFile
  from sagemaker.workflow.properties import Properties
  from sagemaker.workflow.execution_variables import ExecutionVariable, ExecutionVariables
  from sagemaker.workflow.pipeline import PipelineGraph
  from sagemaker.local.exceptions import StepExecutionException
  from sagemaker.local.utils import get_using_dot_notation
  from sagemaker.utils import unique_name_from_base
  from sagemaker.s3 import parse_s3_url, s3_path_join
label_desc: Use image node_id 1 for calling the _ConditionStepExecutor obj's underlying member method code with example usage: obj.execute() and returns: dict