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

Commit

Permalink
Update kitchensink_workers.py
Browse files Browse the repository at this point in the history
remove comment of the old way to return task result
  • Loading branch information
khangpqvn committed Apr 11, 2021
1 parent 911699d commit 7edbb68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/python/kitchensink_workers.py
Expand Up @@ -2,7 +2,6 @@
from conductor.ConductorWorker import ConductorWorker,TaskStatus

def execute(task):
# return {'status': 'COMPLETED', 'output': {'mod': 5, 'taskToExecute': 'task_1', 'oddEven': 0}, 'logs': ['one','two']}
return ConductorWorker.task_result(
status=TaskStatus.COMPLETED,
output= {'mod': 5, 'taskToExecute': 'task_1', 'oddEven': 0},
Expand Down

0 comments on commit 7edbb68

Please sign in to comment.