I have the following dictionary and I was wondering if there was a way to delete objects based off a key value when they are within a list. For instance,
{'Root': [{'ID': '1', 'version': '3'},{'ID': '2', 'version': '4'},{'ID': '3', 'version': '3'}]}
Is there a way to delete everything in the list that has version == 3 ? This post seems to be almost at the answer, but I have that additional "Root" layer: Remove dictionary from list Thanks for any help!