I have seen some similar answers, but I can\'t find something specific for this case:
I have a list of dictionaries like this:
[
{\"element\":Bla, \
Apologies for terrible variable names. There is probably a cleaner way but this should work
seen = {(item["element"], item["version"]): False for item in mylist}
output = []
for item in mylist:
item_key = (item["element"], item["version"])
if not seen[item_key]:
output.append(item)
seen[item_key] = True