def _flatten_dicts(self, dicts):
d = dict()<EOL>list_of_dicts = [d.get() for d in dicts or []]<EOL>return {k: v for d in list_of_dicts for k, v in d.items()}<EOL>
Flatten a dict

        :param dicts: Flatten a dict
        :type dicts: list(dict)