Skip to content

Support use with pydantic #1

@Techcable

Description

@Techcable

Support use with pydantic validation.

Can be used to workaround the deprecation of the unique constraint for pydantic lists (issue pydantic/pydantic-core#296). Although typing.Set supports the unique constraint, this looses the ordering information. Using OrderedSet maintains the best of both worlds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions