fix(types): preserve optional workflow plugin filters

This commit is contained in:
jxxghp
2026-10-17 07:17:55 +08:00
parent 7523463228
commit f58ae3b6ee
3 changed files with 2 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ async def create_workflow(
response_model=List[_SchemaPluginWorkflowActionGroup],
)
def list_plugin_actions(
plugin_id: str = None, _: Any = Depends(get_current_active_manage_user),
plugin_id: Optional[str] = None, _: Any = Depends(get_current_active_manage_user),
page: CompatiblePageParam = None,
count: CompatibleCountParam = None,
) -> Any:

View File

@@ -7,6 +7,7 @@ follow_imports = skip
show_error_codes = True
pretty = True
files =
app/api/endpoints/workflow.py,
app/adapters/external/cookiecloud.py,
app/modules/indexer/parser/bitpt.py,
app/modules/indexer/parser/zhixing.py,

View File

@@ -453,9 +453,6 @@
"str-bytes-safe": 1,
"type-arg": 3
},
"app/api/endpoints/workflow.py": {
"assignment": 1
},
"app/api/servarr.py": {
"arg-type": 2,
"assignment": 1,