main
py 11 lines 271 Bytes
Raw
1 from __future__ import annotations
2
3 import sys
4 from pathlib import Path
5
6
7 SERVICE = Path(__file__).resolve().parents[1]
8 RESEARCH = SERVICE.parent / "research-engine"
9 for path in (str(SERVICE), str(RESEARCH)):
10 if path not in sys.path:
11 sys.path.insert(0, path)