bayesline.api.canonical_identity#
- bayesline.api.canonical_identity(key: str) str#
One feature identity, as the registry holds it.
Parameters#
- keystr
An identity, in any case.
Returns#
- str
The same identity, lowercased.
Raises#
- ValueError
If the key is not shaped like an identity, which would match nothing rather than report that nothing was matched.