style: sort imports in controller API routes

This commit is contained in:
Mark Paronyan committed 2026-10-02 12:43:26 +03:00
1 parent b9cdac487c
commit 4ebc941951
28 files changed
+227 -231

No files matched your search

+9 -11
View File
@@ -15,30 +15,28 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import asyncio
import signal
import logging
import os
import signal
import time
import psutil
from typing import Dict, List
from fastapi import APIRouter, FastAPI, Request, Depends, WebSocket, WebSocketDisconnect, status
from fastapi.responses import StreamingResponse
import psutil
from fastapi import APIRouter, Depends, FastAPI, Request, WebSocket, WebSocketDisconnect, status
from fastapi.encoders import jsonable_encoder
from fastapi.responses import StreamingResponse
from fastapi.routing import Mount
from websockets.exceptions import ConnectionClosed, WebSocketException
from typing import List, Dict
from gns3server import schemas
from gns3server.agent.web_wireshark.stats import collect_webwireshark_stats
from gns3server.config import Config
from gns3server.controller import Controller
from gns3server.agent.web_wireshark.stats import collect_webwireshark_stats
from gns3server.version import __version__
from gns3server.controller.controller_error import ControllerError, ControllerForbiddenError
from gns3server import schemas
from gns3server.version import __version__
from .dependencies.authentication import get_current_active_user, get_current_active_user_from_websocket
import logging
log = logging.getLogger(__name__)
router = APIRouter()