medkit.core.id#
Functions#
|
|
|
Generate a deterministic UUID based on reference_id. |
Module Contents#
- medkit.core.id.generate_id() str #
- medkit.core.id.generate_deterministic_id(reference_id: str) uuid.UUID #
Generate a deterministic UUID based on reference_id.
The generated UUID will be the same if the reference_id is the same.
- Parameters:
- reference_id
A string representation of an UID
- Returns:
- uuid.UUID
The UUID object