qecho / verify_refactor.py
valent-p's picture
refactor: modularize application by extracting core logic into dedicated services, security, database, and router modules.
fa85d00
Raw History Blame Contribute Delete
750 Bytes
import sys
import os
# Set dummy env vars to avoid warnings/errors during import if they check immediately
os.environ["SUPABASE_URL"] = "https://example.supabase.co"
os.environ["SUPABASE_KEY"] = "dummy-key"
try:
print("Attempting to import app...")
from app import app
print("Successfully imported app.")
print("Attempting to import services...")
from src.services import process_store_data
print("Successfully imported services.")
print("Attempting to import routers...")
from src.routers import secrets
print("Successfully imported routers.")
print("Verification script finished successfully.")
except Exception as e:
print(f"\nCRITICAL ERROR during verification: {e}")
sys.exit(1)