|  View source on GitHub | 
Returns a unique key given a list of current keys.
tfma.utils.unique_key(
    key: str, current_keys: List[str], update_keys: Optional[bool] = False
) -> str
If the key exists in current_keys then a new key with _1, _2, ..., etc appended will be returned, otherwise the key will be returned as passed.
| Args | |
|---|---|
| key | desired key name. | 
| current_keys | List of current key names. | 
| update_keys | True to append the new key to current_keys. |