I have a dictionary with a list of objects as values like:
{"A": [obj1, obj2, obj3], "B": [obj1, obj4, obj5]}
Here, I'd like to get a list of unique objects such as
[obj1, obj2, obj3, obj4, obj5]
These objects do not have as single unique attribute (for ex. a unique id).
I tried using set() but since the objects aren't hashable I haven't had success.
How can I accomplish this task?