Skip to content

Commit

Permalink
Merge branch 'main' into refactor/rename-data-set
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Luis Cano Rodríguez <[email protected]>
  • Loading branch information
astrojuanlu committed Jun 21, 2023
2 parents f316afe + 8365987 commit 718faec
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions kedro/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ def new(mcs, *args, **kwargs):

if alias is not None:
warn(
f"{mcs.__name__} has been renamed to {alias.__name__}, and the "
f"alias will be removed in Kedro 0.19.0",
f"{repr(mcs.__name__)} has been renamed to "
f"{repr(alias.__name__)}, and the alias will "
f"be removed in Kedro 0.19.0",
DeprecationWarning,
stacklevel=2,
)
Expand All @@ -63,8 +64,9 @@ def new(mcs, *args, **kwargs):

if alias is not None:
warn(
f"{base.__name__} has been renamed to {alias.__name__}, and the "
f"alias will be removed in Kedro 0.19.0",
f"{repr(base.__name__)} has been renamed to "
f"{repr(alias.__name__)}, and the alias will be "
f"removed in Kedro 0.19.0",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit 718faec

Please sign in to comment.