qat.utils.uuid module

temporary_uuid_seed(seed=None)

Context manager to temporarily seed the uuid generation for reproducibility. Only affects uuid() and uuid4() in this module, for the current context.

This is re-entrant and thread-safe: nested contexts are supported and random state is isolated between concurrent contexts.

uuid()
uuid4()