Skip to content
YosoiDocs

value_type_id

yosoi.contracts.value_type_id

def value_type_id(annotation: type[str] | type[ContractValue]) -> str:

Return the Rust ContractValue identity declared by a scalar type.

Source: python/yosoi/contracts.py:69