jack hace 3 días
padre
commit
d97b7d7e1c
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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