metadata
metadata copied to clipboard
How can I delete an artifact? The metadata REST-API is returning "not implemented error: DeleteArtifact".
/area usage /priority p2
I'm also needing to delete stuff.
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
Issue-Label Bot is automatically applying the labels:
Label | Probability |
---|---|
area/front-end | 0.95 |
Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.
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 is automatically applying the labels:
Label | Probability |
---|---|
kind/question | 0.79 |
Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.
Please refer to upstream issue: https://github.com/google/ml-metadata/issues/69