Skip to content

mistral_common.protocol.utils

random_uuid()

Generate a random UUID.

Source code in src/mistral_common/protocol/utils.py
4
5
6
def random_uuid() -> str:
    """Generate a random UUID."""
    return str(uuid.uuid4().hex)