update deprecation warning (#1258)

This commit is contained in:
Jirka Borovec
2020-03-27 08:40:47 -04:00
committed by GitHub
parent 6772e0c197
commit 593bf50759
5 changed files with 25 additions and 0 deletions
+5
View File
@@ -2,4 +2,9 @@
.. warning:: `logging` package has been renamed to `loggers` since v0.7.0 and will be removed in v0.9.0
"""
import warnings
warnings.warn("`logging.comet` module has been renamed to `loggers.comet` since v0.7.0."
" The deprecated module name will be removed in v0.9.0.", DeprecationWarning)
from pytorch_lightning.loggers.comet import CometLogger # noqa: F403
+5
View File
@@ -2,4 +2,9 @@
.. warning:: `logging` package has been renamed to `loggers` since v0.7.0 and will be removed in v0.9.0
"""
import warnings
warnings.warn("`logging.mlflow` module has been renamed to `loggers.mlflow` since v0.7.0."
" The deprecated module name will be removed in v0.9.0.", DeprecationWarning)
from pytorch_lightning.loggers.mlflow import MLFlowLogger # noqa: F403
+5
View File
@@ -2,4 +2,9 @@
.. warning:: `logging` package has been renamed to `loggers` since v0.7.0 and will be removed in v0.9.0
"""
import warnings
warnings.warn("`logging.neptune` module has been renamed to `loggers.neptune` since v0.7.0."
" The deprecated module name will be removed in v0.9.0.", DeprecationWarning)
from pytorch_lightning.loggers.neptune import NeptuneLogger # noqa: F403
+5
View File
@@ -2,4 +2,9 @@
.. warning:: `logging` package has been renamed to `loggers` since v0.7.0 and will be removed in v0.9.0
"""
import warnings
warnings.warn("`logging.test_tube` module has been renamed to `loggers.test_tube` since v0.7.0."
" The deprecated module name will be removed in v0.9.0.", DeprecationWarning)
from pytorch_lightning.loggers.test_tube import TestTubeLogger # noqa: F403
+5
View File
@@ -2,4 +2,9 @@
.. warning:: `logging` package has been renamed to `loggers` since v0.7.0 and will be removed in v0.9.0
"""
import warnings
warnings.warn("`logging.wandb` module has been renamed to `loggers.wandb` since v0.7.0."
" The deprecated module name will be removed in v0.9.0.", DeprecationWarning)
from pytorch_lightning.loggers.wandb import WandbLogger # noqa: F403