Skip to content
YosoiDocs

LocalContractExpectation

yosoi.browser.LocalContractExpectation

class LocalContractExpectation(WaitExpectation):

Retain an inspectable descriptor for local Contract checks.

Executing checks requires the original local predicate binding. Deserializing the descriptor does not restore executable predicates.

Attributes: kind: Wire discriminator identifying this declaration. assertion: JSON descriptor bounded to 65,536 encoded bytes.

Source: python/yosoi/browser.py:294

WaitExpectation

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

kind: Literal['contract'] = 'contract'
assertion: dict[str, Any]