Delete unnecessary dashboard_artifact system_attr deletion

This commit is contained in:
gen740
2023-11-17 16:53:00 +09:00
parent 36ca4f739b
commit 68e181e838
-4
View File
@@ -204,10 +204,6 @@ def register_artifact_route(
return {"reason": "Cannot access to the artifacts."}
artifact_store.remove(artifact_id)
# The artifact's metadata is stored in one of the following two locations:
storage.set_study_system_attr(
study_id, _dashboard_artifact_prefix(study_id) + artifact_id, json.dumps(None)
)
storage.set_study_system_attr(
study_id, ARTIFACTS_ATTR_PREFIX + artifact_id, json.dumps(None)
)