Skip to content

CallbackEvaluator

junjo.evaluation.CallbackEvaluator

Kind: Class

SDK version: 0.67.0

Documentation channel: Stable release

CallbackEvaluator(*, key: str, version: int, expectation_type: TypeForm[ExpectationT], callback: Callable[[object, ExpectationT, EvaluationContext, ResourcesT], EvaluationResult | Awaitable[EvaluationResult]], role: EvaluationRole = EvaluationRole.JUDGE, timeout_seconds: float = 60.0)

View source

Run an application callback that returns the SDK EvaluationResult.