Skip to main content

UuidVersion

A field metadata class to indicate a UUID version.

Attributes

AttributeTypeDescription
uuid_versionLiteral[1, 3, 4, 5, 6, 7, 8]The version of the UUID. Must be one of 1, 3, 4, 5, 6, 7 or 8.

Constructor

Signature

def UuidVersion(
uuid_version: Literal[1, 3, 4, 5, 6, 7, 8]
) - > null

Parameters

NameTypeDescription
uuid_versionLiteral[1, 3, 4, 5, 6, 7, 8]The version of the UUID to be used for validation and schema generation.