|
|
@@ -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
|