jack 4 дней назад
Родитель
Сommit
d97b7d7e1c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      app/services/run/run_step.py

+ 3 - 1
app/services/run/run_step.py

@@ -37,9 +37,11 @@ class RunStepService:
 
     @staticmethod
     def get_run_step_list(*, run_id, thread_id, session: Session) -> List[RunStep]:
-        session.commit()
+        session.rollback()
         statement = select(RunStep).where(RunStep.run_id == run_id).where(RunStep.thread_id == thread_id)
         result = session.execute(statement).scalars().all()
+        logging.info("run_id: %s", run_id)
+        logging.info("run_id: %s", thread_id)
         logging.info("result: %s", result)
         return result
     @staticmethod