Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: use declared_attr.directive for WorkflowNodeExecutionModel.__table_args__ (#32656)

edvatar00dbaef04f08
diff --git a/api/models/workflow.py b/api/models/workflow.py
index 6a86251216d..7da09a5a1b9 100644
--- a/api/models/workflow.py
+++ b/api/models/workflow.py
@@ -787,7 +787,7 @@ class WorkflowNodeExecutionModel(Base): # This model is expected to have `offlo
__tablename__ = "workflow_node_executions"
- @declared_attr
+ @declared_attr.directive
@classmethod
def __table_args__(cls) -> Any:
return (