diff options
-rw-r--r-- | api/__init__.py | 0 | ||||
-rw-r--r-- | api/main.py (renamed from API/main.py) | 0 | ||||
-rw-r--r-- | api/routers/__init__.py | 0 | ||||
-rw-r--r-- | api/routers/get.py (renamed from API/routers/get.py) | 4 | ||||
-rw-r--r-- | api/utils.py (renamed from API/utils.py) | 0 |
5 files changed, 2 insertions, 2 deletions
diff --git a/api/__init__.py b/api/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/api/__init__.py diff --git a/API/main.py b/api/main.py index 8068243..8068243 100644 --- a/API/main.py +++ b/api/main.py diff --git a/api/routers/__init__.py b/api/routers/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/api/routers/__init__.py diff --git a/API/routers/get.py b/api/routers/get.py index 031b469..bbbd26d 100644 --- a/API/routers/get.py +++ b/api/routers/get.py @@ -3,8 +3,8 @@ import numpy as np import pandas as pd import sys -sys.path.append("..") -import utils +#sys.path.append("/home/rasmus/Proge/STACC/api") +from .. import utils router = APIRouter(tags=["Get requests"]) diff --git a/API/utils.py b/api/utils.py index c04bdf1..c04bdf1 100644 --- a/API/utils.py +++ b/api/utils.py |