code: def get_tasks(self):
          
          self.owner.sync()
          return [t for t in self.owner.tasks.values()
                  if t.project_id == self.id]
docs: Return all tasks in this project.
  
          :return: A list of all tasks in this project.class
          :rtype: list of :class:`pytodoist.todoist.Task`
  
          >>> from pytodoist import todoist
          >>> user = todoist.login('john.doe@gmail.com', 'password')
          >>> project = user.get_project('PyTodoist')
          >>> project.add_task('Install PyTodoist')
          >>> project.add_task('Have fun!')
          >>> tasks = project.get_tasks()
          >>> for task in tasks:
          ...    print(task.content)
          Install PyTodoist
          Have fun!