I have the following list in python:
[('admin', '', {'type': 'telnet'}), ('admin', '', {'type': 'telnet'})]
Where I'm trying to remove duplicates (something is considered duplicate if it's 100% the same) so I wrote:
my_list = list(dict.fromkeys(my_list))
But sometimes I get the following exception:
unhashable type: 'dict'
How may I fix this?