mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-04-30 11:11:21 +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):
|
class EnableChecker(BaseModel):
|
||||||
enable: bool
|
enable: bool
|
||||||
arg_list: list[dict[str, Any]]
|
arg_list: list
|
||||||
|
|
||||||
def is_enabled(self) -> bool:
|
def is_enabled(self) -> bool:
|
||||||
ad_model = ALL_ARGS[0].attr
|
ad_model = ALL_ARGS[0].attr
|
||||||
|
|||||||
Reference in New Issue
Block a user