Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/d/adhawk-HEAD/adhawk/libs/db_script/funder_family_initializer.py   adhawk(Download)
    def get_new_funder_family_object(self):
        self.new_funder_family_object = FunderFamily(
                primary_FEC_id=self.funder_object.FEC_id,
                name=self.funder_object.name)
        self.new_funder_family_object.save()
        if self.funder_object.committee_type:
            self.new_funder_family_object.committee_types.add(
                self.funder_object.committee_type)
        self.new_funder_family_object.save()