alogos.warnings

All custom warnings used in the package.

Functions

turn_on()

Turn on all warnings of this package.

turn_off()

Turn off all warnings of this package.


Detailed object descriptions

alogos.warnings.turn_on()[source]

Turn on all warnings of this package.

Notes

This package uses Python’s warnings module. This means that functions like warnings.filterwarnings will have effect on the warnings issued by this package.

alogos.warnings.turn_off()[source]

Turn off all warnings of this package.

Notes

This package uses Python’s warnings module. This means that functions like warnings.filterwarnings will have effect on the warnings issued by this package.

exception alogos.warnings.GrammarWarning[source]

Bases: Warning

Issued when a grammar is ill-formed but still usable.

Examples

  • The same production rule appears more than once.

exception alogos.warnings.OptimizationWarning[source]

Bases: Warning

Issued when an optimization algorithm might behave unexpected.

Examples

  • No optimization step was performed due to the parameter settings.

exception alogos.warnings.DatabaseWarning[source]

Bases: Warning

Issued when a potential problem with a database occurs.

Examples

  • Not all the data could be imported from the database.

  • An import argument did not fit to the data and had to be ignored.