import sys from pathlib import Path REPO_ROOT = Path(__file__).parents[4].resolve() sys.path.append(f"{REPO_ROOT}")