Did I find the right examples for you? yes no

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

src/o/i/OIPA-V2-HEAD/iati/utils/dataset_syncer.py   OIPA-V2(Download)
    def add_iati_xml_source_to_db(self, object, current_publisher, cur_type):
        name = object["name"]
        url = str(object["download_url"])
 
        new_source = models.IATIXMLSource(ref=name, publisher=current_publisher, source_url=url, type=cur_type)