mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-03 22:04:57 +08:00
fix(types): preserve optional workflow plugin filters
This commit is contained in:
@@ -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:
|
||||
|
||||
1
mypy.ini
1
mypy.ini
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user