LocalRustAssertion
yosoi.browser.LocalRustAssertion
class LocalRustAssertion(ImmutableModel):
Retain a local Contract assertion descriptor for inspection.
Executing it requires the original local predicates. Deserialization retains inspection data but cannot restore executable callback bindings.
Attributes: kind: Wire discriminator identifying this declaration. assertion: Serialized schema, plan, and named-check declaration.
Source: python/yosoi/browser.py:541
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”kind: Literal['assert_all'] = 'assert_all'
assertion: dict[str, Any]
Methods
Section titled “Methods”def until(self, *, trigger: Step | None=None) -> UntilStep:
Observe these locally bound Contract checks during an Until wait.
Args: trigger: Optional supported one-shot action dispatched after registration.
Returns: Until declaration retaining the original local predicate binding.