mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-03 08:35:15 +03:00
Remove unused imports (logging, log, select)
This commit is contained in:
parent
af94c1729b
commit
68567118f1
@ -22,7 +22,6 @@ from fastapi import Request, Query, Depends, HTTPException, WebSocket, status
|
||||
from fastapi.security import OAuth2PasswordBearer
|
||||
from typing import Optional
|
||||
from uuid import UUID
|
||||
from sqlalchemy import select
|
||||
|
||||
from gns3server import schemas
|
||||
import gns3server.db.models as models
|
||||
|
||||
@ -21,9 +21,7 @@ from sqlalchemy.ext.asyncio import AsyncSession
|
||||
|
||||
from gns3server.db.repositories.base import BaseRepository
|
||||
|
||||
import logging
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
async def get_db_session(request: HTTPConnection) -> AsyncSession:
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
import os
|
||||
import uuid
|
||||
import pydantic
|
||||
import logging
|
||||
|
||||
from uuid import UUID
|
||||
from fastapi.encoders import jsonable_encoder
|
||||
@ -34,7 +33,6 @@ from gns3server.controller.controller_error import (
|
||||
ControllerForbiddenError,
|
||||
)
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
TEMPLATE_TYPE_TO_SCHEMA = {
|
||||
"cloud": schemas.CloudTemplate,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user