fix: type strip helper param as Mapping to satisfy pyrefly

Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
This commit is contained in:
Yufeng He 2026-06-17 03:21:39 +08:00
parent b1c0f6da8b
commit 2597d158a4

View File

@ -604,7 +604,7 @@ class AppDslService:
]
@classmethod
def _strip_tenant_file_defaults_from_workflow_dict(cls, workflow_dict: dict[str, Any]) -> None:
def _strip_tenant_file_defaults_from_workflow_dict(cls, workflow_dict: Mapping[str, Any]) -> None:
for node in workflow_dict.get("graph", {}).get("nodes", []):
node_data = node.get("data", {})
if not isinstance(node_data, dict):