KeywordArgumentError

exception KeywordArgumentError(cls: type, s: str)[source]

Thrown when missing a keyword-only argument.

Initialize the error.

Parameters:
  • cls – The class that was trying to be instantiated

  • s – The string describing the original type error