106
I need to find a dict in this list based on a unique value (id) inside that dict:
[
{
'title': 'some value',
'value': 123.4,
'id': 'an id'
},
{
'title': 'another title',
'value': 567.8,
'id': 'another id'
}
]
Caveats: title and value can be any value (and the same), id would be unique.
I know this can be done through the use of loops, but this seems cumbersome