Skip to content
YosoiDocs

Check

yosoi.browser.Check

class Check:

Name a synchronous local predicate for Contract assertions.

Attributes: name: Short diagnostic name recorded when a check fails. predicate: Synchronous callable evaluating a validated record and returning a boolean.

Source: python/yosoi/browser.py:1855

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

name: str
predicate: Callable[[Any], bool]