call configure_enhancer_services

This commit is contained in:
Csaba 2024-02-09 12:34:13 +01:00
parent a46b83567e
commit 993ec9fdce

View file

@ -5,6 +5,7 @@ from amarillo.plugins.gtfs_export.gtfs_export import GtfsExport, GtfsFeedInfo, G
from amarillo.plugins.gtfs_export.gtfs import GtfsRtProducer from amarillo.plugins.gtfs_export.gtfs import GtfsRtProducer
from amarillo.utils.container import container from amarillo.utils.container import container
from amarillo.plugins.gtfs_export.router import router from amarillo.plugins.gtfs_export.router import router
from amarillo.plugins.enhancer.configuration import configure_enhancer_services
from glob import glob from glob import glob
import json import json
import schedule import schedule
@ -73,5 +74,6 @@ def start_schedule():
job_thread.start() job_thread.start()
def setup(app : FastAPI): def setup(app : FastAPI):
configure_enhancer_services()
app.include_router(router) app.include_router(router)
start_schedule() start_schedule()