Skip to content

WorkflowTarget

junjo.evaluation.WorkflowTarget

Kind: Class

SDK version: 0.67.0

Documentation channel: Stable release

WorkflowTarget(*, key: str, name: str, input_version: int, input_type: TypeForm[InputT], factory: Callable[[InputT, EvaluationContext, ResourcesT], WorkflowInvocation | Awaitable[WorkflowInvocation]], projector: Callable[[ExecutionResult[Any], InputT, EvaluationContext, ResourcesT], object | Awaitable[object]])

View source

Execute a fresh application Workflow through Workflow.execute().

key is the stable evaluation dispatch identity. name is the human-readable name of the real Workflow stored with Studio cases and shown in evaluation results.