Skip to content

Commit

Permalink
careful promise to instantiate replacement
Browse files Browse the repository at this point in the history
Signed-off-by: dafnapension <dafnashein@yahoo.com>
  • Loading branch information
dafnapension committed Nov 18, 2024
1 parent ec9c5e4 commit f3031ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unitxt/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def prepare(self):
hasattr(self, "__replacing_artifact__")
and self.__replacing_artifact__ is not None
):
message += f"Its replacement, of type {self.__replacing_artifact__}, is instantiated instead."
message += f"Its replacement, of type {self.__replacing_artifact__}, is to be instantiated instead."
warnings.warn(message, DeprecationWarning, stacklevel=2)

def verify(self):
Expand Down

0 comments on commit f3031ff

Please sign in to comment.