there's plenty of similar questions here, but I couldn't find one that works for my case, and even if I could probably tweak one similar problem to work for my case, I haven't had success so far.
Here's the simple issue:
my = [
{'operator': 'SET', 'operand': {'id': '9999', 'name': u'Foo'}},
{'operator': 'SET', 'operand': {'status': 'ACTIVE', 'id': '9999'}}]
I want to merge the dictionaries with common ['operand']['id']
result = [
{'operator': 'SET', 'operand': {'id': '9999', 'name': u'Foo', 'status': 'ACTIVE'}}]
Thanks!