Merge main into feat/plugin

This commit is contained in:
Yeuoly
2024-10-22 17:35:11 +08:00
72 changed files with 789 additions and 1000 deletions

View File

@ -22,7 +22,7 @@ class WorkflowToolConfigurationUtils:
if not start_node:
return []
return [VariableEntity(**variable) for variable in start_node.get("data", {}).get("variables", [])]
return [VariableEntity.model_validate(variable) for variable in start_node.get("data", {}).get("variables", [])]
@classmethod
def check_is_synced(