Update obsolete comment about SWF decisions completion

This commit is contained in:
Jean-Baptiste Barth 2015-10-23 09:05:52 +02:00
parent 558b84fb6a
commit 6810973b76

View File

@ -181,7 +181,8 @@ class WorkflowExecution(object):
dt.start(evt.event_id)
def complete_decision_task(self, task_token, decisions=None, execution_context=None):
# TODO: check if decision can really complete in case of malformed "decisions"
# In case of a malformed or invalid decision task, SWF will raise an error and
# it won't perform any of the decisions in the decision set.
self.validate_decisions(decisions)
dt = self._find_decision_task(task_token)
evt = self._add_event(