def do_add(self, subject):

        for fname, value in self.action_params:
            field, model, direct, m2m = subject._meta.get_field_by_name(fname)

            if not m2m:
                raise ValueError("{0} can be auto applied only on m2m".format(
                    self.get_action_display()
                ))
            getattr(subject, fname).add(value)

        return subject
load CGI intervals
dataset/ETHPy150Open ofri/Open-Knesset/suggestions/models.py/SuggestedAction.do_add--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/loadUCSCPredictedCGIIntervals