def debug(self, timestamp, namespace, data):  # pragma: no cover
        print 'Timestamp: %s, Namespace: %s' % (timestamp, namespace)
        if isinstance(data, str):
            data = self.parse_query(data)
        elif isinstance(data, dict):
            data = data.iteritems()
        whitelist = self.config.key_whitelist
        if whitelist is not None:
            data_dict = {key: value for key, value in data if key in whitelist}
        else:
            data_dict = dict(data)
        pprint(data_dict)
        print ''
dataset/ETHPy150Open chriso/gauged/gauged/writer.py/Writer.debug/original