summaryrefslogtreecommitdiff
path: root/apirouters/agents.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-09-01 00:27:54 +0200
committerBotond Hende <nettingman@gmail.com>2024-09-01 00:27:54 +0200
commite66fb136c8fd10fe8bafb273c938a3d332d997ba (patch)
tree94623092ecb1bb6177ecc7b922aeaec429cc08d3 /apirouters/agents.py
parent21019bc8414e60495573807b0fe0eb562a0e8876 (diff)
setting tasks for ships
Diffstat (limited to 'apirouters/agents.py')
-rw-r--r--apirouters/agents.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/apirouters/agents.py b/apirouters/agents.py
index 55825e6..a1e015b 100644
--- a/apirouters/agents.py
+++ b/apirouters/agents.py
@@ -1,13 +1,13 @@
from enum import Enum
-from typing import Annotated, Dict, List
+from typing import Annotated, Dict
import openapi_client
from fastapi import APIRouter, Depends, Response, HTTPException
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
-from ..modules import tasks
-from ..modules.ships import Ship
+from ..modules import task_type
from ..modules.database import cursor, conn
+from ..modules.ships import Ship
router = APIRouter()
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")