mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-29 14:21:40 +00:00
* always use fastuuid * rm from proxy extras since its now default * poetry lock
17 lines
288 B
Python
17 lines
288 B
Python
"""
|
|
Internal unified UUID helper.
|
|
|
|
Always uses fastuuid for performance.
|
|
"""
|
|
|
|
import fastuuid as _uuid # type: ignore
|
|
|
|
|
|
# Expose a module-like alias so callers can use: uuid.uuid4()
|
|
uuid = _uuid
|
|
|
|
|
|
def uuid4():
|
|
"""Return a UUID4 using the selected backend."""
|
|
return uuid.uuid4()
|