Source code for jobflow.utils.uuid

"""Tools for generating UUIDs."""

from monty.dev import deprecated


[docs] @deprecated( message=( "The UUID system will be replaced with a UID that " "contains both the UUID and ULID." ) ) def suuid() -> str: """ Generate a string UUID (universally unique identifier). Uses the UUID4 specification. Returns ------- str A UUID. """ from uuid import uuid4 return str(uuid4())