#NEWLINE# @ staticmethod #NEWLINE# def _from_db_object( context , vif , db_vif ) : #NEWLINE# #INDENT# for field in vif . fields : #NEWLINE# #INDENT# setattr ( context , field , db_vif [ field ] ) #NEWLINE# #UNINDENT# vif . _context = context #NEWLINE# vif . obj_reset_changes ( ) #NEWLINE# return vif