code: def add_eager_constraints(self, models):
          
          super(MorphToMany, self).add_eager_constraints(models)
  
          self._query.where('%s.%s' % (self._table, self._morph_type), self._morph_class)
docs: Set the constraints for an eager load of the relation.
  
          :type models: list