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.exceptions.exception import ResourceNotFoundError, ValidateFailedError
 from app.models import RunStep
 from app.models import RunStep
-
+import logging
 
 
 class RunStepService:
 class RunStepService:
     @staticmethod
     @staticmethod
@@ -38,7 +38,7 @@ class RunStepService:
     @staticmethod
     @staticmethod
     def get_run_step_list(*, run_id, thread_id, session: Session) -> List[RunStep]:
     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)
         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()
         return session.execute(statement).scalars().all()
 
 
     @staticmethod
     @staticmethod