Przeglądaj źródła

Run submodules directly within the modules and return results from there instead of processing that externally

tags/v1.0
JustAnotherArchivist 4 lat temu
rodzic
commit
ca68893a59
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      codearchiver/core.py

+ 2
- 2
codearchiver/core.py Wyświetl plik

@@ -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):


Ładowanie…
Anuluj
Zapisz