Ejemplo n.º 1
0
    def normalize_metadata(self, data):
        logger.info('Original Structure:\n%s' % get_structure(data))

        records = [d['data'] for d in data['data']['children']]
        return {'after': data['data']['after']}, records
Ejemplo n.º 2
0
 def normalize_metadata(self, data):
     data = fix_single_elems(data)
     logger.info('Original Structure:\n%s' % get_structure(data))
     return {}, [data['result']['project']]