[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-01-21 01:41:05 +00:00
committed by GitHub
parent c89d8ba740
commit b4f9f3d224

View File

@ -360,9 +360,7 @@ class DifyAPISQLAlchemyWorkflowNodeExecutionRepository(DifyAPIWorkflowNodeExecut
""" """
Fetch node executions for a run using workflow_run_id. Fetch node executions for a run using workflow_run_id.
""" """
stmt = select(WorkflowNodeExecutionModel).where( stmt = select(WorkflowNodeExecutionModel).where(WorkflowNodeExecutionModel.workflow_run_id == run_id)
WorkflowNodeExecutionModel.workflow_run_id == run_id
)
return list(session.scalars(stmt)) return list(session.scalars(stmt))
@staticmethod @staticmethod