mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
* build(deps-dev): bump black 24.10.0 -> 26.3.1 * style: apply black 26.3.1 formatting * chore: authorize black 26.3.1 license in liccheck.ini
15 lines
287 B
Python
15 lines
287 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()
|