This document describes the current stable version of Celery (5.3). For development docs, go here.

Source code for kombu.utils.uuid

"""UUID utilities."""

from uuid import uuid4


[docs]def uuid(_uuid=uuid4): """Generate unique id in UUID4 format. See Also: For now this is provided by :func:`uuid.uuid4`. """ return str(_uuid())