Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Add callbackAfterSeconds for python client
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil-bhagat committed Jul 19, 2021
1 parent 0c27a67 commit 3fadfb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions polyglot-clients/python/conductor/ConductorWorker.py
Expand Up @@ -114,6 +114,8 @@ def execute(self, task, exec_function):
task['status'] = resp['status']
task['outputData'] = resp['output']
task['logs'] = resp['logs']
if 'callbackAfterSeconds' in resp:
task['callbackAfterSeconds'] = resp['callbackAfterSeconds']
if 'reasonForIncompletion' in resp:
task['reasonForIncompletion'] = resp['reasonForIncompletion']
self.taskClient.updateTask(task)
Expand Down

0 comments on commit 3fadfb4

Please sign in to comment.