I have a lists with several elements and i'd like to remove the duplicated, here's an example of a list:
list = [{'status': 'OK', 'mid': '6639'}, {'status': 'OK', 'mid': '6639'}, {'status': 'OK', 'mid': '6640'}, {'status': 'OK', 'mid': '6640'}, {'status': 'OK', 'mid': '6641'}, {'status': 'OK', 'mid': '6641'}, {'status': 'OK', 'mid': '6642'}, {'status': 'OK', 'mid': '6643'}]
I have tried to use the function set but i have an error it says that the list is unhashable, does someone have an idea of how to remove the duplications ?