jack 2 주 전
부모
커밋
879ecb246d
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/services/run/run_step.py

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

@@ -63,7 +63,9 @@ class RunStepService:
         #run_step.step_details = step_details
         if isinstance(step_details, dict):
             print("step_details is a dict")
-            run_step.step_details.update(step_details)
+            new_step_details = dict(run_step.step_details or {})
+            new_step_details.update(step_details)
+            run_step.step_details = new_step_details
             print("step_details", step_details)
             print("run_step.step_details", run_step.step_details)
         else: