Remove duplicate dict in list in Python
<p>I have a list of dicts, and I'd like to remove the dicts with identical key and value pairs.</p>

<p>For this list: <code>[{'a': 123}, {'b': 123}, {'a': 123}]</code></p>

<p>I'd like to return this: <code>[{'a': 123}, {'b': 123}]</code></p>

<p>Another example:</p>

<p>For this list: <code>[{'a': 123, 'b': 1234}, {'a': 3222, 'b': 1234}, {'a': 123, 'b': 1234}]</code></p>

<p>I'd like to return this: <code>[{'a': 123, 'b': 1234}, {'a': 3222, 'b': 1234}]</code></p>
