#NEWLINE# def stored_model( self , column_values ) : #NEWLINE# #INDENT# "\n        Returns the fixed embedded_model this field was initialized\n        with (typed embedding) or tries to determine the model from\n        _module / _model keys stored together with column_values\n        (untyped embedding).\n\n        We give precedence to the field's definition model, as silently\n        using a differing serialized one could hide some data integrity\n        problems.\n\n        Note that a single untyped EmbeddedModelField may process\n        instances of different models (especially when used as a type\n        of a collection field).\n        " #NEWLINE# module = column_values . pop ( '_module' , None ) #NEWLINE# model = column_values . pop ( '_model' , None ) #NEWLINE# if ( self . embedded_model is not None ) : #NEWLINE# #INDENT# return self . embedded_model #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( module is not None ) : #NEWLINE# #INDENT# return getattr ( import_module ( module ) , model ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise IntegrityError ( 'Untyped EmbeddedModelField trying to load data without serialized model class info.' )