mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-02-25 09:34:10 +00:00
fix: EnableChecker type hint for py 3.8
This commit is contained in:
@@ -152,7 +152,7 @@ class ADetailerArgs(BaseModel, extra=Extra.forbid):
|
||||
|
||||
class EnableChecker(BaseModel):
|
||||
enable: bool
|
||||
arg_list: list[dict[str, Any]]
|
||||
arg_list: list
|
||||
|
||||
def is_enabled(self) -> bool:
|
||||
ad_model = ALL_ARGS[0].attr
|
||||
|
||||
Reference in New Issue
Block a user