Wykres commitów

11 Commity (acffc1a55ef3a88f040bb6fe6607ffb81e17d9f7)

Autor SHA1 Wiadomość Data
nyanpasu64 a2051cc988 [wip] Add trigger_falloff parameter 2018-08-25 16:35:15 -07:00
nyanpasu64 910dd507d9 Validate parameters when loading YAML config
Call the dataclass constructor, which raise TypeError on extra or
missing arguments.
2018-08-19 15:59:39 -07:00
nyanpasu64 f6b554fe86 Fix dumping benchmark_mode to YAML 2018-08-17 14:50:28 -07:00
nyanpasu64 042c8a3be5 Fix crash when loading YAML (disable type checking) 2018-07-29 06:35:58 -07:00
nyanpasu64 992702f317 misc 2018-07-29 06:35:31 -07:00
nyanpasu64 e66d3cb58c Switch to custom keyword_dataclasses.py
Whenever non-default arguments follow default arguments, they are marked
as keyword-only: f(a=1, *, b)
2018-07-29 06:35:27 -07:00
nyanpasu64 7f0e1ccaba (Config YAML) Add support for always dumping default fields
@register_config(always_dump='field names || *')
2018-07-29 06:35:17 -07:00
nyanpasu64 1124c46f1e Type-check fields, when loading config dataclasses from YAML 2018-07-29 06:35:15 -07:00
nyanpasu64 648829b4d9 Exclude default fields from YAML dumping. Add dumping unit tests. 2018-07-25 05:19:46 -07:00
nyanpasu64 a87642b38c Rename register_dataclass to register_config 2018-07-25 05:19:45 -07:00
nyanpasu64 65655b2645 [wip] Make config classes dumpable via YAML, rename base configs 2018-07-25 05:19:45 -07:00