Commit graph

11 commits

Author SHA1 Message Date
InsanePrawn
572142bf0b dataclass: replace print spam with decent logging 2023-04-16 03:28:49 +02:00
InsanePrawn
3ed0721d52 formatting cleanups 2023-03-27 19:45:35 +02:00
InsanePrawn
ff1c31e157 TEMP: WIP: add repo_config
TEMP cause it spams a bunch of prints in dataclass handling
2023-03-27 09:18:57 +02:00
InsanePrawn
72f4d4948e TEMP: override DataClass.ToDict() 2023-03-21 20:53:17 +01:00
InsanePrawn
07ccc26d95 dataclass: support UnionType (A | B) 2022-12-07 13:21:52 +01:00
InsanePrawn
7d96d05165 dataclass: transform(): format types in error for wrong value type better 2022-11-09 20:19:04 +01:00
InsanePrawn
3c315d7899 dataclass: specify _type_hints class variable, filter class variables from type hints. 2022-11-09 20:19:04 +01:00
InsanePrawn
0fdb6f891b dataclass: handle non-DataClass Munches properly 2022-11-09 20:19:04 +01:00
InsanePrawn
7b7caf3f37 dataclass: DataClass.tranform(): handle Optional dict/Munch items 2022-11-09 20:19:04 +01:00
InsanePrawn
040e409620 dataclass.resolve_type_hint(): add conversion from str to [int,float] if str not in types 2022-11-09 19:39:59 +01:00
InsanePrawn
2cd41e75ca config/scheme: move DataClass to dataclass.py 2022-11-09 19:39:59 +01:00