Sfoglia il codice sorgente

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

tags/v1.0
JustAnotherArchivist 4 anni fa
parent
commit
ca68893a59
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      codearchiver/core.py

+ 2
- 2
codearchiver/core.py Vedi File

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


Caricamento…
Annulla
Salva