neuraxle.logging.warnings¶
Module-level documentation for neuraxle.logging.warnings. Here is an inheritance diagram, including dependencies to other base modules of Neuraxle:
Neuraxle’s Deprecation Warnings¶
Code evolves through time. When updating Neuraxle, you may find that some old arguments you were using or some classes you were using changed. Warnings will be printed using the methods here.
Functions
|
|
Turn off all of the neuraxle.logging.warnings for deprecations. |
|
|
|
|
Classes
|
Use this class and call it’s __init__ method to raise a DeprecationWarning and point to the good class to use. |
-
neuraxle.logging.warnings.
silence_all_deprecation_warnings
()[source]¶ Turn off all of the neuraxle.logging.warnings for deprecations.
-
neuraxle.logging.warnings.
warn_deprecated_class
(self, replacement_class: type = None, as_per_version: str = None)[source]¶
-
class
neuraxle.logging.warnings.
RaiseDeprecatedClass
(replacement_class: type = None, since_version: str = None)[source]¶ Bases:
object
Use this class and call it’s __init__ method to raise a DeprecationWarning and point to the good class to use.
-
neuraxle.logging.warnings.
raise_deprecated_class
(replacement_class: type = None, since_version: str = None)[source]¶
-
neuraxle.logging.warnings.
_deprecated_class_msg
(self, replacement_class: type = None, since_version: str = None) → str[source]¶