MissingExtraError#

class openstef_core.exceptions.MissingExtraError(extra: str, package: str = 'openstef-beam')[source]#

Bases: Exception

Exception raised when an extra is missing in the extras list.

Parameters:
  • extra (str)

  • package (str)

__init__(extra: str, package: str = 'openstef-beam')[source]#

Initialize the exception with the name of the missing extra.

Parameters:
  • extra (str) – Name of the missing extra package.

  • package (str) – Name of the package requiring the extra.

  • extra

  • package