You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched Google & GitHub for similar requests and couldn't find anything
I have read and followed the docs and still think this feature is missing
Description
UUIDv7 is becoming much more widely utilized in a variety of applications due to it's embedded timestamp and lexicographical sorting. It would be great to have that version supported by the Pydantic UUID field type.
Hi @sydney-runkle Just a heads up—the default uuid package currently doesn't support UUIDv7. We'll need to use a uuid_utils package and add it separately.
Hmph, in that case, we can add support in pydantic-extra-types, but won't offer first class support here until it's included in the stdlib uuid package.
Initial Checks
Description
UUIDv7 is becoming much more widely utilized in a variety of applications due to it's embedded timestamp and lexicographical sorting. It would be great to have that version supported by the Pydantic UUID field type.
Affected Components
.model_dump()
and.model_dump_json()
model_construct()
, pickling, private attributes, ORM modeThe text was updated successfully, but these errors were encountered: