BadKeyError

exception audformat.errors.BadKeyError(invalid_key, valid_keys)[source]

Raised when a key is not found.

Parameters
  • invalid_key (str) – value causing the error

  • valid_keys (Sequence[str]) – list of valid strings