-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add visible DeprecationWarning for kedro.extras.datasets
Fix gh-1501. Signed-off-by: Juan Luis Cano Rodríguez <[email protected]>
- Loading branch information
1 parent
1c28e2a
commit 6fc045c
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
"""``kedro.extras.datasets`` is where you can find all of Kedro's data connectors. | ||
These data connectors are implementations of the ``AbstractDataSet``. | ||
""" | ||
|
||
from warnings import warn as _warn | ||
|
||
_warn( | ||
"`kedro.extras.datasets` is deprecated and will be removed in Kedro 0.19, " | ||
"install `kedro-datasets` instead by running `pip install kedro-datasets`.", | ||
DeprecationWarning, | ||
stacklevel=2, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters