import os import sys from pathlib import Path # Add the src directory to the Python path src_path = Path(__file__).parent.parent / "app" sys.path.insert(0, str(src_path))