-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
artifact link #1363
base: main
Are you sure you want to change the base?
artifact link #1363
Conversation
a90b2e2
to
f2716f1
Compare
It looks good, just not sure, how to support the overwrite args. |
Hi @elronbandel , |
The issue is old code with references to deprecated catalog names. |
src/unitxt/artifact.py
Outdated
@@ -412,6 +412,18 @@ def get_raw(obj): | |||
return shallow_copy(obj) | |||
|
|||
|
|||
class ArtifactLink(Artifact): | |||
new_artifact: Artifact | |||
is_self_deprecated: bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In think deprecation and linking are distinct properties.
We can deprecate something without having a new link to it. So every artifact should have a deprecated field.
2878941
to
871ebaf
Compare
@yoavkatz , @elronbandel , I tried to address both your valuable comments. Please see. |
Signed-off-by: dafnapension <dafnashein@yahoo.com>
Signed-off-by: dafnapension <dafnashein@yahoo.com>
f3031ff
to
157c210
Compare
closes: #1341