Skip to content
YosoiDocs

ContractValue

yosoi.contracts.ContractValue

class ContractValue(Protocol):

Identity-only protocol for native Rust Contract scalar types.

Attributes: TYPE_ID: Stable scalar identifier included in native transport identity. This protocol does not register a Pydantic validator or runtime converter.

Source: python/yosoi/contracts.py:58

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

TYPE_ID: ClassVar[str]