+ goal: Goal = Relationship(back_populates="tasks")
+ def __str__(self):
+ return f'{self.name} ({self.id})'
+
+
+def pretty_print(goal, tasks):
+ results = []
+ results.append(f' ## {goal}')
+ for task in tasks:
+ if(task.complete_date):
+ results.append(f' - [x] {task}')
+ else:
+ results.append(f' - [ ] {task}')
+ return results
+