class_docstr: Strategy that resolves artifacts if predicates are met.
  
  This resolver strategy is used by TFX internally to support conditional.
  Not intended to be directly used by users.
class_docstr_tok: ["Strategy","that","resolves","artifacts","if","predicates","are","met",".","This","resolver","strategy","is","used","by","TFX","internally","to","support","conditional",".","Not","intended","to","be","directly","used","by","users","."]
code: def __init__(
      self, predicates: List[placeholder_pb2.PlaceholderExpression]
  ):
      self._predicates = predicates
  
file_path: tfx/tfx/dsl/input_resolution/strategies/conditional_strategy.py
imports: from typing import Dict, List, Optional
  from tfx import types
  from tfx.dsl.compiler import placeholder_utils
  from tfx.dsl.components.common import resolver
  from tfx.orchestration import metadata
  from tfx.orchestration.portable import data_types
  from tfx.orchestration.portable.input_resolution import exceptions
  from tfx.proto.orchestration import placeholder_pb2
label_desc: Use image node_id 1 to create a new ConditionalStrategy object from inherited base classes: resolver with example: obj = ConditionalStrategy(predicates)