Skip to content

Instantly share code, notes, and snippets.

@billturner billturner/mock_data.py Secret
Created Apr 9, 2019

Embed
What would you like to do?
lists = [
{
'id': 1,
'type': 'albums',
'name': 'This is an example list',
'description': 'This is the description for the first list'
},
{
'id': 2,
'type': 'books',
'name': 'Another list',
'description': 'A description for this list should be different'
}
]
list_items = [
{
'id': 1,
'list_id': 1,
'title': 'OK Computer',
'creator': 'Radiohead'
},
{
'id': 2,
'list_id': 1,
'title': 'Kind of Blue',
'creator': 'Miles Davis'
},
{
'id': 3,
'list_id': 1,
'title': 'Monk Alone',
'creator': 'Thelonius Monk'
},
{
'id': 4,
'list_id': 2,
'title': 'The Haunting of Hill House',
'creator': 'Shirley Jackson'
},
{
'id': 5,
'list_id': 2,
'title': 'Infomocracy',
'creator': 'Malka Older'
},
{
'id': 6,
'list_id': 2,
'title': 'The Left Hand of Darkness',
'creator': 'Ursula K. LeGuin'
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.