pyxu.info.warning#

exception PyxuWarning[source]#

Bases: UserWarning

Parent class of all warnings raised in Pyxu.

exception AutoInferenceWarning[source]#

Bases: PyxuWarning

Use when a quantity was auto-inferenced with possible caveats.

exception PerformanceWarning[source]#

Bases: PyxuWarning

Use for performance-related warnings.

warn_dask_perf(msg=None)[source]#

Issue a warning for DASK-related performance issues.

This method is aware of its context and prints the name of the enclosing function/method which invoked it.

Parameters:

msg (str) – Custom warning message.

exception PrecisionWarning[source]#

Bases: PyxuWarning

Use for precision-related warnings.

exception DenseWarning[source]#

Bases: PyxuWarning

Use for sparse-based algos which revert to dense arrays.

exception NonTransparentWarning[source]#

Bases: PyxuWarning

Inform test suite runner of (safe) non-transparent function call.

exception BackendWarning[source]#

Bases: PyxuWarning

Inform user of a backend-specific problem to be aware of.

exception ContributionWarning[source]#

Bases: PyxuWarning

Use for warnings related to Pyxu plugins.