Skip to main content

get_target

Method
This is a method of the RoutingConditionProtocol class in the protocols module.
Get the target tasks/steps based on condition evaluation.

Signature

def get_target(context: Dict[str, Any]) -> List[str]

Parameters

context
Dict
required
Dictionary containing variables for evaluation.

Returns

Returns
List[str]
List of target task/step names to route to. Returns empty list if no match found.

Source

View on GitHub

praisonaiagents/conditions/protocols.py at line 81