<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_notes(self):
 """Return all notes attached to this Task. :return: A list of all notes attached to this Task. :rtype: list of :class:`pytodoist.todoist.Note` 1 """

        owner = self.project.owner
        owner.sync()
        return [n for n in owner.notes.values() if n.item_id == self.id]