diff options
author | Botond Hende <nettingman@gmail.com> | 2024-09-01 00:27:54 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-09-01 00:27:54 +0200 |
commit | e66fb136c8fd10fe8bafb273c938a3d332d997ba (patch) | |
tree | 94623092ecb1bb6177ecc7b922aeaec429cc08d3 /apirouters/agents.py | |
parent | 21019bc8414e60495573807b0fe0eb562a0e8876 (diff) |
setting tasks for ships
Diffstat (limited to 'apirouters/agents.py')
-rw-r--r-- | apirouters/agents.py | 6 |
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") |