diff --git a/script/example_fetch_from_eda.py b/script/example_fetch_from_eda.py index 6c4554ce..8425f3c8 100644 --- a/script/example_fetch_from_eda.py +++ b/script/example_fetch_from_eda.py @@ -1,3 +1,10 @@ +# Add root project dir to the python path +import os +import sys + +parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) +sys.path.append(parent_dir) + from atst.app import make_config, make_app from atst.eda_client import EDAClient