Skip to content
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

Need a way to rename and deprecate artifacts #1341

Open
yoavkatz opened this issue Nov 11, 2024 · 0 comments · May be fixed by #1363
Open

Need a way to rename and deprecate artifacts #1341

yoavkatz opened this issue Nov 11, 2024 · 0 comments · May be fixed by #1363
Assignees

Comments

@yoavkatz
Copy link
Member

The catalog today has some wrongly named artifacts in the wrong local. We need a backward compatible way to migrate to it.

  1. Add deprecation string field to each artificat. If set to anything but 'None', a message will be printed when loading the artifact:

"Artifact XXXX was loaded from catalog but is deprecated: {deprecation}. "

The catalog UX should highlight that they are deprecated (e.g. red flag)

2)We would have a way to link an artifact to another artifact.

artifact = ArtifactReference(reference="tasks.my_task" )
add_to_catalog(artifact,"tasks.my_old_task")

This will make loading "tasks.my_old_task" return the "Task.my_task")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants