From 9063176d7dda31eb2d0b5b0f7d02d62a89993703 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Thu, 11 Nov 2021 16:55:26 +0100 Subject: [PATCH] Fix typing issue --- lib/galaxy_test/base/populators.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/galaxy_test/base/populators.py b/lib/galaxy_test/base/populators.py index 3568b8124785..7f79d9c142f4 100644 --- a/lib/galaxy_test/base/populators.py +++ b/lib/galaxy_test/base/populators.py @@ -72,6 +72,7 @@ from galaxy.tool_util.client.staging import InteractorStaging from galaxy.tool_util.cwl.util import ( download_output, + GalaxyOutput, guess_artifact_type, invocation_to_output, output_to_cwl_json, @@ -238,6 +239,12 @@ def __init__(self, dataset_populator, history_id): self.dataset_populator = dataset_populator self.history_id = history_id + @abstractmethod + def _output_name_to_object(self, output_name) -> GalaxyOutput: + """ + Convert the name of a run output to a GalaxyOutput object. + """ + def get_output_as_object(self, output_name, download_folder=None): galaxy_output = self._output_name_to_object(output_name)