- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
urls = [
{
'id': url['id'],
'url': url['url'],
'issues': [
{
'id': issue['id'],
'description': issue['description'],
'status': issue['status'],
'author': issue['author'],
'insert_date': issue['insert_date']
'comments': [
{
'id': comment['id'],
'comment': comment['comment'],
'author': comment['author'],
'insert_date': comment['insert_date']
} for comment in db.comments_get_by_issue_id(issue['id'])
]
} for issue in db.issues_get_by_url_id(url['id'])
]} for url in urls]