Skip to content

Commit

Permalink
Moved import lines with constant.py into main
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshD94 committed Nov 17, 2024
1 parent 404e39c commit f7941eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
from src.database import Base as db
from flask_migrate import Migrate
from src.schema import Query, Mutation
from src.utils.utils import create_gym_table
from src.models.openhours import OpenHours
from src.database import db_url, db_user, db_password, db_name, db_host, db_port
from flasgger import Swagger

Expand Down Expand Up @@ -77,6 +75,8 @@ def shutdown_session(exception=None):
from src.scrapers.equipment_scraper import scrape_equipment
from src.scrapers.class_scraper import fetch_classes
from src.scrapers.activities_scraper import fetch_activity
from src.utils.utils import create_gym_table
from src.models.openhours import OpenHours
# Scrape hours every 15 minutes

@scheduler.task("interval", id="scrape_hours", seconds=900)
Expand Down

0 comments on commit f7941eb

Please sign in to comment.