- 518370910136
- https://boyanzh.site
-
FOCS maintainer for almost everything.
- Joined on
2021-05-21
Block a user
dev
In joj3_config_generator/models/task.py, Config.path is relative to JOJ3_CONFIG_ROOT, so task.toml will located at JOJ3_CONFIG_ROOT / task_conf.path in JTC.
dev
Use a dict to store parser name, field, function to process.
process_dict: Dict[
str, Tuple[Callable[[result.ParserConfig, BaseModel], None], BaseModel]
] = {
…
dev
No, do not find the parser in the fix_xxx function. Instead, iterate through the parsers here and decide how to fill in the with.
dev
should loop through conf_stage.parsers here and update the with field according to the parser name.