def val_dump(rels, db):
 concepts = process_bundle(rels).values()
 valuation = make_valuation(concepts, read=True)
 db_out = shelve.open(db, u'n')
 db_out.update(valuation)
 db_out.close()

def val_dump ( rels , db ) : concepts = process_bundle ( rels ) . values ( ) valuation = make_valuation ( concepts , read = True ) db_out = shelve . open ( db , u'n' ) db_out . update ( valuation ) db_out . close ( )
make a valuation from a list of relation metadata bundles and dump to persistent database .