'PollForDecisionTask.'

@wraps(Layer1.poll_for_decision_task)
def poll(self, **kwargs):

    task_list = self.task_list
    if ('task_list' in kwargs):
        task_list = kwargs.get('task_list')
        del kwargs['task_list']
    decision_task = self._swf.poll_for_decision_task(self.domain, task_list, **kwargs)
    self.last_tasktoken = decision_task.get('taskToken')
    return decision_task
