From 7ac6d1d936987d48cb1400b513724ce8efbb0319 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 17 Mar 2026 17:00:32 +0800 Subject: [PATCH] bugfix --- dagflow/dagflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagflow/dagflow.py b/dagflow/dagflow.py index 54abe97..90a4ce6 100644 --- a/dagflow/dagflow.py +++ b/dagflow/dagflow.py @@ -546,7 +546,7 @@ where instance_id=${instance_id}$ ne = recs[0] inst_id = ne.instance_id insts = await sor.R('flow_instance', {'id': inst_id}) - if insts + if insts: debug(f'{inst_id=} 没找到flow_instance记录') return inst = insts[0]