KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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
Tags (comma-separated)
Save Edits
Cancel