from .__main__ import app, db_session, cache from flask import g import files.helpers.cron import os from pathlib import Path # cli.py runs in /files, whereas our relative paths assume # the WD is . NOTE: Change this if cli.py is ever moved. os.chdir(Path(__file__).parent.parent) #from flask_migrate import Migrate #from flask_sqlalchemy import SQLAlchemy #import files.classes #db = SQLAlchemy(app) #migrate = Migrate(app, db)