from uuid import UUID, uuid7 class Uuid7Generator: __slots__ = () def new_id(self) -> UUID: return uuid7()