human
extract item from list of dictionaries
assistant
Here is some code to extract dictionary from list of dictionaries based on a key's value.

[d for d in a if d['name'] == 'pluto']

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.