a = [{'a': '1'}, {'c': '2'}]
b = [{'a': '1'}, {'b': '2'}]
intersec = [item for item in a if item in b]
sym_diff = [item for item in itertools.chain(a, b) if item not in intersec]
intersec
sym_diff
How to find the difference between two lists of dictionaries?