code: def test_compile_condition_step_explicit_depending_on_another_step():
      step_0 = CustomStep(name="custom-step-0")
      condition_step = ConditionStep(
          name="condition-step",
          depends_on=[step_0],
          conditions=[
              ConditionEquals(
                  left="Failed",
                  right="Completed",
              )
          ],
      )
  
      compiler = StepsCompiler(
          pipeline_name="test-pipeline",
          sagemaker_session=None,
          pipeline_definition_config=None,
          steps=[step_0, condition_step],
      )
      compiled_steps = compiler.build()
  
      assert compiled_steps[0].step_type == StepTypeEnum.TRAINING
      assert compiled_steps[1].step_type == StepTypeEnum.CONDITION
      assert list_to_request(compiled_steps) == [
          {
              "Name": "custom-step-0",
              "Type": "Training",
              "Arguments": {
                  "Output": "s3://bucket/test-pipeline/custom-step-0",
              },
          },
          {
              "Name": "condition-step",
              "Type": "Condition",
              "DependsOn": ["custom-step-0"],
              "Arguments": {
                  "Conditions": [
                      {
                          "Type": "Equals",
                          "LeftValue": "Failed",
                          "RightValue": "Completed",
                      }
                  ],
                  "ElseSteps": [],
                  "IfSteps": [],
              },
          },
      ]
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.workflow.steps import Step, StepTypeEnum
  from sagemaker.workflow.function_step import step
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.condition_step import ConditionStep
  from sagemaker.workflow.conditions import ConditionEquals
  from sagemaker.workflow.properties import Properties
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from sagemaker.workflow._steps_compiler import StepsCompiler
  from sagemaker.workflow.utilities import load_step_compilation_context, list_to_request
label_desc: Use image node_id 6 for calling a global function with example usage: test_compile_condition_step_explicit_depending_on_another_step() without return types