Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

How can I delete an artifact? The metadata REST-API is returning "not implemented error: DeleteArtifact". #145

Open
ghost opened this issue Oct 29, 2019 · 7 comments

Comments

@ghost
Copy link

ghost commented Oct 29, 2019

No description provided.

@jtfogarty
Copy link

/area usage
/priority p2

@schmidt-jake
Copy link

I'm also needing to delete stuff.

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue.
See dashboard for more details.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
area/front-end 0.95

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@avishniakov
Copy link

Facing same issue, how deletion of artifacts can be achieved in Kubeflow 1.0?

Reproduction:

curl http://metadata-service.kubeflow:8080/api/v1alpha1/artifact_types/kubeflow.org/alpha/model/artifacts/1

{"artifact":{"id":"1","type_id":"4","uri":"s3://my-bucket/model_test.pickle","properties":{"__ALL_META__":{"string_value":"{\"workspace\": null, \"name\": \"model_test_as\", \"description\": \"test desc\", \"owner\": \"dummy\", \"uri\": \"s3://my-bucket/model_test.pickle\", \"version\": \"2020-06-10\", \"model_type\": \"sklearn\", \"training_framework\": {\"name\": \"sklearn\"}, \"hyperparameters\": null, \"labels\": null, \"id\": null, \"create_time\": \"2020-06-10T04:17:40.239560Z\", \"kwargs\": {}}"},"create_time":{"string_value":"2020-06-10T04:17:40.239560Z"},"description":{"string_value":"test desc"},"model_type":{"string_value":"sklearn"},"name":{"string_value":"model_test_as"},"owner":{"string_value":"dummy"},"version":{"string_value":"2020-06-10"}},"custom_properties":{"__kf_run__":{"string_value":"run-2020-06-10T04:16:33.707370"},"__kf_workspace__":{"string_value":"dummy"}}}}

curl -X DELETE http://metadata-service.kubeflow:8080/api/v1alpha1/artifact_types/kubeflow.org/alpha/model/artifacts/1

{"error":"not implemented error: DeleteArtifact","message":"not implemented error: DeleteArtifact","code":2}

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/question 0.79

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@Bobgy
Copy link
Contributor

Bobgy commented Aug 27, 2021

Please refer to upstream issue: google/ml-metadata#69

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

No branches or pull requests

5 participants