Skip to content

NodeTarget

junjo.evaluation.NodeTarget

Kind: Class

SDK version: 0.67.0

Documentation channel: Stable release

NodeTarget(*, key: str, name: str, input_version: int, input_type: TypeForm[InputT], factory: Callable[[InputT, EvaluationContext, ResourcesT], NodeInvocation[StateT] | Awaitable[NodeInvocation[StateT]]], projector: Callable[[NodeEvaluationResult[StateT], InputT, EvaluationContext, ResourcesT], object | Awaitable[object]])

View source

Execute a fresh application Node through evaluate_node().

key is the stable evaluation dispatch identity. name is the human-readable Node name stored with Studio cases and shown in evaluation results; it must describe the real application Node rather than repeat the registry key.