core: add helper to 'freeze' dataclasses, in order to derive a schema from the properties

This commit is contained in:
Dima Gerasimov 2021-02-22 21:58:19 +00:00 committed by karlicoss
parent 86497f9b13
commit ca4d58e4e7
5 changed files with 81 additions and 5 deletions

View file

@ -67,7 +67,7 @@ class Entry:
# todo multiple threads? not sure if would help much... (+ need to find offset somehow?)
def entries() -> Iterable[Res[Entry]]:
def entries() -> Iterable[Entry]:
inps = list(inputs())
base: List[PathIsh] = ['arbtt-dump', '--format=json']