gtfs_export and gtfs_generator

This commit is contained in:
Csaba 2023-12-11 15:01:27 +01:00
parent 4ab0c49e39
commit e78d06afd7
4 changed files with 8 additions and 8 deletions

0
amarillo/app/__init__.py Normal file
View file

View file

View file

@ -7,10 +7,10 @@ import gettext
import logging import logging
import re import re
from app.utils.utils import assert_folder_exists from amarillo.app.utils.utils import assert_folder_exists
from app.models.gtfs import GtfsTimeDelta, GtfsFeedInfo, GtfsAgency, GtfsRoute, GtfsStop, GtfsStopTime, GtfsTrip, GtfsCalendar, GtfsCalendarDate, GtfsShape from amarillo.app.models.gtfs import GtfsTimeDelta, GtfsFeedInfo, GtfsAgency, GtfsRoute, GtfsStop, GtfsStopTime, GtfsTrip, GtfsCalendar, GtfsCalendarDate, GtfsShape
from app.services.stops import is_carpooling_stop from amarillo.app.services.stops import is_carpooling_stop
from app.services.gtfs_constants import * from amarillo.app.services.gtfs_constants import *
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View file

@ -1,7 +1,7 @@
from app.models.Carpool import Region from amarillo.app.models.Carpool import Region
from app.services.gtfs_export import GtfsExport, GtfsFeedInfo, GtfsAgency from amarillo.app.services.gtfs_export import GtfsExport, GtfsFeedInfo, GtfsAgency
from app.services.gtfs import GtfsRtProducer from amarillo.app.services.gtfs import GtfsRtProducer
from app.utils.container import container from amarillo.app.utils.container import container
from glob import glob from glob import glob
import json import json
import schedule import schedule