#NEWLINE# def convert_ids2objects( self ) : #NEWLINE# #INDENT# ' Convert object IDs from `self._json_params` to objects if needed.\n\n        Only IDs that belong to relationship field of `self.Model`\n        are converted.\n        ' #NEWLINE# if ( not self . Model ) : #NEWLINE# #INDENT# log . info ( ( '%s has no model defined' % self . __class__ . __name__ ) ) #NEWLINE# return #NEWLINE# #UNINDENT# for field in self . _json_params . keys ( ) : #NEWLINE# #INDENT# if ( not engine . is_relationship_field ( field , self . Model ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# rel_model_cls = engine . get_relationship_cls ( field , self . Model ) #NEWLINE# self . id2obj ( rel_model_cls , rel_model_cls )