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

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

src/g/r/gramps-3.4.2/src/plugins/import/ImportGeneWeb.py   Gramps(Download)
                    (idx,asso_p) = self.parse_person(fields,0,gen.lib.Person.UNKNOWN,None)
                    pref = gen.lib.PersonRef()
                    pref.set_relation(matches.groups()[0])
                    LOG.warn("TODO: Handle association types properly")
                    pref.set_reference_handle(asso_p.get_handle())