Skip to content
YosoiDocs

RuntimeString

yosoi.runtime_contracts.RuntimeString

class RuntimeString(ImmutableModel):

Carry a string accepted by runtime Contract validation.

Attributes: type: Wire discriminator identifying a string value. value: Validated string content.

Source: python/yosoi/runtime_contracts.py:76

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

type: Literal['string']
value: str