def init_relation(self, models, relation):
        for model in models:
            model.set_relation(relation, Result(self._related.new_collection(), self, model))

        return models
Initialize the relation on a set of models.
dataset/ETHPy150Open sdispater/orator/orator/orm/relations/has_many.py/HasMany.init_relation