Skip to content
YosoiDocs

ArchivedContractString

yosoi.runtime_contracts.ArchivedContractString

class ArchivedContractString(ImmutableModel):

Store a validated string in the portable archive format.

Attributes: type: Wire discriminator for archived string values. value: Retained string content; hidden from the default repr.

Source: python/yosoi/runtime_contracts.py:196

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

type: Literal['string']
value: str = Field(repr=False)