"completedDate": task.completed,
"priority": task.priority,
"estimate": task.estimate,
- "notes": list(self._get_notes(taskId, taskSeries.notes)),
+ "notes": dict((
+ (note["id"], note)
+ for note in self._get_notes(taskId, taskSeries.notes)
+ )),
}
taskDetails = self._parse_task_details(rawTaskDetails)
yield taskDetails