def __init__(self): super(Cots, self).__init__(make_navitia_wrapper(), current_app.config.get('NAVITIA_TIMEOUT', 5), current_app.config['COTS_CONTRIBUTOR'], KirinModelBuilder)
def __init__(self): self.navitia_wrapper = make_navitia_wrapper() self.navitia_wrapper.timeout = current_app.config.get('NAVITIA_TIMEOUT', 5) self.contributor = current_app.config['CONTRIBUTOR']