Skip to content
YosoiDocs

assert_all

yosoi.browser.assert_all

def assert_all(contract: type[Any], *, plan: Plan | None=None, checks: Iterable[Check]) -> LocalRustAssertion:

Check one typed Contract observation using synchronous local predicates.

Python validation failures retain Rust-compatible field issues in the assertion report. Sanitized Pydantic details are carried as a tagged item in extraction_diagnostics because the Rust FieldIssue wire shape is fixed.

Source: python/yosoi/browser.py:2038