def with_effect(self, effect):
        if hasattr(effect, 'build'):
            self.effects.append(effect.build())
        else:
            self.effects.append(effect)
        return self
Returns a new QuerySet instance with filter_obj added to the filters.
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/builders/item.py/ItemBuilder.with_effect--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/models/query.py/QuerySet.complex_filter