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

Source code for kombu.utils.uuid

"""UUID utilities."""
from __future__ import absolute_import, unicode_literals

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())