From 3b1516c0c5437cf3a77dee6c567089155d913c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Dom=C3=ADnguez?= <43052541+kysrpex@users.noreply.github.com> Date: Mon, 20 Jan 2025 15:14:15 +0100 Subject: [PATCH] Remove remark concerning `ExportObjectResultMetadata` model validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `ExportObjectResultMetadata.validate_uri()` includes commented out code as a remark for the reader that short term exports need not to have a URI as part of their result metadata. Remove this remark. Co-authored-by: David López <46503462+davelopez@users.noreply.github.com> --- lib/galaxy/schema/schema.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/galaxy/schema/schema.py b/lib/galaxy/schema/schema.py index a494d26ca635..57145769b092 100644 --- a/lib/galaxy/schema/schema.py +++ b/lib/galaxy/schema/schema.py @@ -1853,9 +1853,6 @@ def validate_uri(cls, model): """ Ensure unsuccessful exports do not have a URI. """ - # short therm exports need not have a URI - # if model.success and not model.uri: - # raise ValueError("successful exports must have a URI") if not model.success and model.uri: raise ValueError("unsuccessful exports cannot have a URI")