1
0
mirror of https://github.com/vladmandic/sdnext.git synced 2026-01-27 15:02:48 +03:00

19 Commits

Author SHA1 Message Date
awsr
6335130ca5 Rewrite to satisfy type checker 2026-01-13 16:44:54 -08:00
awsr
b2798b15db Improved Options init 2026-01-13 16:08:58 -08:00
awsr
1dffdc17a9 Revert classvar removal. Simplify and update 2026-01-13 14:30:34 -08:00
awsr
3654d0fa18 Update typing, remove incorrect typing 2026-01-13 04:09:58 -08:00
awsr
08c871e8d1 Remove unused class vars 2026-01-13 04:08:48 -08:00
awsr
ec86e52ded Correct type enforcement 2026-01-13 02:11:58 -08:00
awsr
2394a7fac1 Ignore false positives with static typing 2026-01-13 02:10:38 -08:00
awsr
418134b820 Update default filename handling 2026-01-10 14:53:07 -08:00
awsr
0faabffc14 Simplify options init/save/load 2026-01-10 13:27:38 -08:00
awsr
1a5f7ef642 Update OptionInfo import 2025-12-20 00:34:09 -08:00
awsr
f20591ce5e Use updated Callable import
Importing from `typing` is considered deprecated since it's literally just internally calling from `collections.abc`
2025-12-18 23:27:53 -08:00
awsr
eeca45c7b2 Update type annotations 2025-12-18 18:09:32 -08:00
awsr
05f767cf5f Keep option type definitions together...
and update type annotations.
- Since there's no literal for sets, and because functions usually shouldn't be used as parameter defaults, use None as default and then use `set()` as default during init.
2025-12-18 18:08:54 -08:00
awsr
dcb7164d30 Update readfile type safety 2025-12-17 16:43:54 -08:00
awsr
c22ca8d76e Create and opt in to dict type safety from JSON
Opt in via the keyword-only argument `dict_only`
2025-12-17 13:18:13 -08:00
Vladimir Mandic
aa42dd9cca fix cwd on git version check fail
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-03 16:23:41 -05:00
Vladimir Mandic
72a9094b42 better model version detect and experimental pydantic v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 12:41:40 -04:00
Vladimir Mandic
a91ee36b5c fix settings components mismatch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-06 18:35:43 -04:00
Vladimir Mandic
4e449ca9b2 refactor monolithic shared.py and separate legacy options with logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-12 13:35:41 -04:00