BooleanPredicateEvaluator
junjo.evaluation.BooleanPredicateEvaluator
Kind: Class
SDK version: 0.69.0
Documentation channel: Stable release
Signature
Section titled “Signature”BooleanPredicateEvaluator(*, key: str, version: int, expectation_type: TypeForm[ExpectationT], predicate: Callable[[object, ExpectationT, EvaluationContext, ResourcesT], bool | Awaitable[bool]], passed_reason: str = 'Boolean predicate passed.', failed_reason: str = 'Boolean predicate failed.', timeout_seconds: float = 30.0)Adapt a domain predicate into a deterministic evaluation result.
Members
Section titled “Members”key = keyPublic attribute.
version
Section titled “version”version = versionPublic attribute.
role = rolePublic attribute.
timeout_seconds
Section titled “timeout_seconds”timeout_seconds = timeout_secondsPublic attribute.
expectation_schema
Section titled “expectation_schema”expectation_schema: Mapping[str, object]Public attribute.