From ca68893a596d1c6752896410b1453efe3bdb0c6f Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Fri, 19 Jun 2020 23:22:10 +0000 Subject: [PATCH] Run submodules directly within the modules and return results from there instead of processing that externally --- codearchiver/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codearchiver/core.py b/codearchiver/core.py index 43ce8a2..3a50073 100644 --- a/codearchiver/core.py +++ b/codearchiver/core.py @@ -39,8 +39,8 @@ class Result: files: typing.List[str] = dataclasses.field(default_factory = list) '''List of filenames produced by the run''' - submodules: typing.List['Module'] = dataclasses.field(default_factory = list) - '''List of related submodules that need to be run as well''' + submoduleResults: typing.List[typing.Tuple['Module', 'Result']] = dataclasses.field(default_factory = list) + '''List of related submodules and their results''' class HttpError(Exception):