mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #18086 from davelopez/fix_update_time_typing
Ensure history `update_time` is set when exporting
This commit is contained in:
@@ -698,6 +698,7 @@ class HistoryExportManager:
|
||||
def _serialize_task_export(self, export: model.StoreExportAssociation, history: model.History):
|
||||
task_uuid = export.task_uuid
|
||||
export_date = export.create_time
|
||||
assert history.update_time is not None, "History update time must be set"
|
||||
history_has_changed = history.update_time > export_date
|
||||
export_metadata = self.get_record_metadata(export)
|
||||
is_ready = export_metadata is not None and export_metadata.is_ready()
|
||||
|
||||
Reference in New Issue
Block a user