Aoun-Ai / scripts /test_import.py
MuhammadMahmoud's picture
feat: clean deployment with bug fixes and stability improvements
18b8b90
import traceback
import sys
from pathlib import Path
# Add project root to path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
try:
from app.api.api import api_router
print("API Router Imported Successfully!")
except Exception as e:
print("FAILED TO IMPORT API ROUTER!")
traceback.print_exc()