Files
inecs cbd0adca91 Initial release of the oVirt/RHV Engine API simulator.
Stateful FastAPI lab with contract packs, Compose/Helm, Docker Hub release
targets, and Pulumi coverage across all Engine series (GET/POST/PUT/DELETE/HEAD).
2026-07-18 04:49:28 +03:00

16 lines
320 B
Python

"""Deterministic UUIDs for seed data."""
from __future__ import annotations
from uuid import UUID, uuid5
NAMESPACE = UUID("a1b2c3d4-e5f6-7890-abcd-ef1234567890")
def stable_id(*parts: str) -> UUID:
return uuid5(NAMESPACE, ":".join(parts))
def stable_str(*parts: str) -> str:
return str(stable_id(*parts))