Unofficial research mirror of the Pydantic documentation (MIT licence) for an academic study. Some details differ from the official documentation, so do not rely on this site for real projects. Official docs: docs.pydantic.dev. About this study.
Skip to content

ULID

The pydantic_extra_types.ULID module provides the [ULID] data type.

This class depends on the [python-ulid] package, which is a validate by the ULID-spec.

ULID dataclass

ULID(ulid: ULID)

Bases: Representation

A wrapper around python-ulid package, which is a validate by the ULID-spec.