Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/backend/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# app.py
#!/usr/bin/env python
import os
import sys

# Add the parent directory (the one that contains the "src" folder) to sys.path.
# This allows absolute imports such as "from src.backend.middleware.health_check" to work
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")))
import asyncio
import logging
import os
import uuid
from typing import List, Optional
from src.backend.middleware.health_check import HealthCheckMiddleware
Expand Down
Loading