diff --git a/python/uuid_utils/compat/__init__.pyi b/python/uuid_utils/compat/__init__.pyi index de42132..e1e2954 100644 --- a/python/uuid_utils/compat/__init__.pyi +++ b/python/uuid_utils/compat/__init__.pyi @@ -1,7 +1,33 @@ -from uuid import UUID +from uuid import ( + NAMESPACE_DNS, + NAMESPACE_OID, + NAMESPACE_URL, + NAMESPACE_X500, + RESERVED_FUTURE, + RESERVED_MICROSOFT, + RESERVED_NCS, + RFC_4122, + UUID, + SafeUUID, + getnode, +) from typing_extensions import TypeAlias +__all__ = [ + "NAMESPACE_DNS", + "NAMESPACE_OID", + "NAMESPACE_URL", + "NAMESPACE_X500", + "RESERVED_FUTURE", + "RESERVED_MICROSOFT", + "RESERVED_NCS", + "RFC_4122", + "UUID", + "SafeUUID", + "getnode", +] + # Because UUID has properties called int and bytes we need to rename these temporarily. _Int: TypeAlias = int _Bytes: TypeAlias = bytes