deepdiff icon indicating copy to clipboard operation
deepdiff copied to clipboard

ignore order based on specific key of dictionary in list of dictionaries

Open Scsourav18 opened this issue 7 years ago • 1 comments

Hi, I have two list of dictionaries and the lists are not in any specific order . I want to use deepdiff to compare the lists . does deepdiff supports ignore_order based on specific key of a dictionary.

Scsourav18 avatar May 13 '19 11:05 Scsourav18

ignore_order is set globally not for specific keys of a dictionary. Having said that, it has issues with nested lists of dictionaries so you might not get what you need. I have some plans to improve it but not the time to do it yet. I'm gonna close this ticket since it seems like it was a question that is answered now.

seperman avatar Jul 12 '19 23:07 seperman