IDs
generate_prefixed_uuid
¶
Generate a UUID string with the given prefix.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
prefix
|
str
|
The prefix to use for the UUID |
required |
Returns:
| Type | Description |
|---|---|
str
|
A UUID string with the given prefix |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the prefix contains an underscore |