mirror of
https://github.com/langgenius/dify.git
synced 2026-06-26 06:41:10 +08:00
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:
parent
b1c0f6da8b
commit
2597d158a4
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user