Skip to content
YosoiDocs

ArchivedContractField

yosoi.runtime_contracts.ArchivedContractField

class ArchivedContractField(ImmutableModel):

Pair an archived schema field ID with its accepted value.

Attributes: id: Identity of the field in the archive schema. value: Portable value with an explicit cardinality discriminator.

Source: python/yosoi/runtime_contracts.py:234

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

id: FieldId
value: ArchivedContractFieldValue = Field(repr=False)