def init_all_objects(self, data, target=None, single_result=True):
if single_result:<EOL><INDENT>return self.init_target_object(target, data)<EOL><DEDENT>return list(self.expand_models(target, data))<EOL>
Initializes model instances from given data.
Returns single instance if single_result=True.