Skip to content

Commit

Permalink
feat(interaction_callback_fn): add status update
Browse files Browse the repository at this point in the history
  • Loading branch information
leonlolly committed Feb 11, 2024
1 parent 7da68e3 commit f91c041
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wannadb_web/worker/Web_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def interaction_callback_fn(pipeline_element_identifier, feedback_request):
while (time.time() - start_time) < 300:
msg = self.signals.match_feedback.msg
if msg is not None:
print("MSG " + msg)
logger.info("MSG " + msg)
self.signals.status.emit("Feedback received from UI")
return msg
time.sleep(2)
raise TimeoutError("no match_feedback in time provided")
Expand Down

0 comments on commit f91c041

Please sign in to comment.