Chore: Setup and Env
This commit is contained in:
@@ -58,7 +58,7 @@ if os.path.exists(env_file):
|
||||
|
||||
# Import after path setup
|
||||
from gatehouse_app import create_app
|
||||
from gatehouse_app.services.external_auth_service import ExternalAuthService, ExternalAuthError
|
||||
from gatehouse_app.services.external_auth import ExternalAuthService, ExternalAuthError
|
||||
|
||||
|
||||
def _microsoft_defaults() -> dict:
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
"""Initialize database script."""
|
||||
import sys
|
||||
import os
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
from gatehouse_app import create_app
|
||||
from gatehouse_app.extensions import db
|
||||
from sqlalchemy import text
|
||||
|
||||
Reference in New Issue
Block a user