KeyEncoder Class
A class for encoding keys.
Note: This class is marked as 'experimental' and may change in the future.
Constructor
KeyEncoder()
Methods
| generate_hash |
Generate a hash from a list of keys. |
generate_hash
Generate a hash from a list of keys.
static generate_hash(keys: Iterable[str]) -> str
Parameters
| Name | Description |
|---|---|
|
keys
Required
|
A list of keys to generate the hash from. |
Returns
| Type | Description |
|---|---|
|
The generated hash. |
Exceptions
| Type | Description |
|---|---|
|
If the keys are empty |
Attributes
is_experimental
is_experimental = True
stage_status
stage_status = 'experimental'