Skip to content

BooleanPredicateEvaluator

junjo.evaluation.BooleanPredicateEvaluator

Kind: Class

SDK version: 0.69.0

Documentation channel: Stable release

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)

View source

Adapt a domain predicate into a deterministic evaluation result.

key = key

View source

Public attribute.

version = version

View source

Public attribute.

role = role

View source

Public attribute.

timeout_seconds = timeout_seconds

View source

Public attribute.

expectation_schema: Mapping[str, object]

View source

Public attribute.