import sys import os # Ensure the project root is in sys.path so 'app' can be imported sys.path.insert(0, os.path.dirname(__file__))