From f172889fbb8a0c612c6c4775567d622275f939be Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 2 Aug 2026 15:51:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20sor.R()=203rd=20arg=20=E2=86=92=20sqlExe?= =?UTF-8?q?=20with=20ORDER=20BY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_service/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_service/storage.py b/pipeline_service/storage.py index cdec6f4..d507da4 100644 --- a/pipeline_service/storage.py +++ b/pipeline_service/storage.py @@ -21,7 +21,7 @@ async def get_pipeline_steps(pipeline_id: str) -> list: """ db, dbname = _get_db() async with db.sqlorContext(dbname) as sor: - recs = await sor.R('pipeline_steps', {'pipeline_id': pipeline_id}, sort='step_order') + recs = await sor.sqlExe('SELECT * FROM pipeline_steps WHERE pipeline_id=${pid}$ ORDER BY step_order', {'pid': pipeline_id}) if not recs: return [] result = []