jack преди 4 дни
родител
ревизия
4f767b5256
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      app/services/run/run_step.py

+ 2 - 2
app/services/run/run_step.py

@@ -6,7 +6,7 @@ from sqlmodel import select
 
 from app.exceptions.exception import ResourceNotFoundError, ValidateFailedError
 from app.models import RunStep
-
+import logging
 
 class RunStepService:
     @staticmethod
@@ -38,7 +38,7 @@ class RunStepService:
     @staticmethod
     def get_run_step_list(*, run_id, thread_id, session: Session) -> List[RunStep]:
         statement = select(RunStep).where(RunStep.run_id == run_id).where(RunStep.thread_id == thread_id)
-
+        logging.info("statement: %s", statement)
         return session.execute(statement).scalars().all()
 
     @staticmethod