Skip to content

Commit

Permalink
Remove remark concerning ExportObjectResultMetadata model validation
Browse files Browse the repository at this point in the history
`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 <[email protected]>
  • Loading branch information
kysrpex and davelopez authored Jan 20, 2025
1 parent 7a9a52a commit 3b1516c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/galaxy/schema/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3b1516c

Please sign in to comment.