Ejemplo n.º 1
0
 def post_load_data(cls, session, source_collection):
     target_collection_name = cls.config_collection_name
     utils.map_reduce_dictify(session, source_collection, target_collection_name, 'load_key', ['agency','grant'], 'grants')
Ejemplo n.º 2
0
 def post_load_data(cls, session, source_collection):
     target_collection_name = cls.config_collection_name
     utils.map_reduce_dictify(session, source_collection, target_collection_name, 'load_key', ['id', 'type'], 'simbad_objects')