Commit Graph

11795 Commits

Author SHA1 Message Date
awsr dfe6e889d8 Fix imports 2025-12-20 01:42:03 -08:00
awsr 1a5f7ef642 Update OptionInfo import 2025-12-20 00:34:09 -08:00
awsr 148f16daed Move LegacyOption back to shared_legacy.py
Seems like Python doesn't actually consider it a circular import in this instance.
2025-12-20 00:31:13 -08:00
awsr b0dc758099 Change Mapping type to dict 2025-12-19 23:52:47 -08:00
awsr 4d4cf0cef1 Update options typing 2025-12-19 21:22:50 -08:00
awsr 072cab438d Use Any type for default for now 2025-12-19 19:17:52 -08:00
awsr e2c5fc0a21 Add simple docstring 2025-12-19 15:46:16 -08:00
awsr f8b812b68e Add Callable type annotation to onchange 2025-12-19 00:30:11 -08:00
awsr 878f2f5aa6 Use True/False instead of True/None 2025-12-19 00:22:57 -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 2cd6600a38 Add type annotations to options_section 2025-12-18 17:04:59 -08:00
awsr e211b7bf39 Fix Extension type inference 2025-12-18 14:04:41 -08:00
awsr 54ea787c88 Improve value parsing for traceback_install 2025-12-17 19:52:41 -08:00
awsr f12907cd1f Adjust parse_str_to_bool typing and logic
Python doesn't have a way to define a TypeVar as "any type except x"
2025-12-17 18:50:42 -08:00
awsr d0d9724bf7 Update wiki to latest commit
Got added by accident in an earlier commit.
2025-12-17 16:51:33 -08:00
awsr 3fa20d8fce Add type assertion 2025-12-17 16:44:35 -08:00
awsr ab7ca7e303 Remove unused TypeGuard import 2025-12-17 16:44:09 -08:00
awsr dcb7164d30 Update readfile type safety 2025-12-17 16:43:54 -08:00
awsr 18bfa4b031 Fix type enforcement 2025-12-17 13:44:25 -08:00
awsr 6f00ad4643 Add type annotation to save queue 2025-12-17 13:38:42 -08:00
awsr 4816455a99 Don't try to read txt file as json 2025-12-17 13:18:48 -08:00
awsr 56fc36d944 More dict type safety opt in 2025-12-17 13:18:48 -08:00
awsr 41105c362a Revert change incorrectly reported by Pyright as an error 2025-12-17 13:18:14 -08:00
awsr c34c42493e Opt in to dict type safety 2025-12-17 13:18:14 -08:00
awsr 5206216487 Typing updates 2025-12-17 13:18:13 -08:00
awsr 89acc8cd35 Update type handling for install_traceback 2025-12-17 13:18:13 -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
awsr 1b44c4e498 Type enforcement for install_traceback 2025-12-17 13:17:21 -08:00
awsr 54d431a9bb Update Ruff target version 2025-12-17 13:17:21 -08:00
vladmandic 9a3fddd165 Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2025-12-17 10:33:39 +01:00
vladmandic c7688e7403 update changelog
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-17 10:33:36 +01:00
Vladimir Mandic 5ab228a495 Merge pull request #4477 from awsr/extension-status-fix
Fix and improve extension status icons
2025-12-17 10:32:46 +01:00
vladmandic e2fb70d4a1 detailer draw segmentation overlays
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-17 10:03:17 +01:00
awsr 2a95973767 Fix and improve extension status icons 2025-12-16 20:49:07 -08:00
awsr 13a04c2312 Add color-adjustable SVG string support 2025-12-16 20:48:12 -08:00
vladmandic a7956d0c5c detailer support for segmentation models and use of segmentation masks
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-16 22:51:52 +01:00
vladmandic 40a6cbfe00 Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2025-12-16 19:30:50 +01:00
vladmandic f7a3fd15ca update changelog
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-16 19:30:45 +01:00
vladmandic 6ec88a509b z-image support transformers finetunes
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-16 19:30:05 +01:00
Disty0 0d45e851fb disable compile on balanced offload hooks 2025-12-16 16:43:43 +03:00
vladmandic 409ad8d2bd add longcat image and image-edit
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-16 08:58:22 +01:00
vladmandic 2ac0a67bd9 update todo
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-15 18:56:54 +01:00
vladmandic 8b73ebf36a update changelog
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-15 09:08:13 +01:00
Vladimir Mandic 4faec1439d Merge pull request #4471 from awsr/patch-2
Fix generation loop state check
2025-12-15 08:59:46 +01:00
awsr 00decaaa20 Fix generation loop state check
This also fixes log spam in the Python console.
2025-12-14 01:27:30 -08:00
vladmandic 0706f46a91 alias pipeline output image/images
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-13 09:30:05 +01:00
Disty0 ce8b6d138c SDNQ remove forced uint4 from convs and cleanup 2025-12-13 01:32:52 +03:00
Disty0 101983faef Update ROCm nightlies to ROCm 7.1 2025-12-12 12:54:46 +03:00