mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 23:01:15 +02:00
style: sort imports in the new image management modules
This commit is contained in:
1 parent
a64379cb78
commit
b78672a8ca
7 files changed
+19
-16
No files matched your search
@@ -29,8 +29,8 @@ from sqlalchemy.orm.session import make_transient
|
||||
|
||||
import gns3server.db.models as models
|
||||
from gns3server import schemas
|
||||
from gns3server.utils.image_inventory import image_lock
|
||||
from gns3server.controller.controller_error import ControllerNotFoundError
|
||||
from gns3server.utils.image_inventory import image_lock
|
||||
|
||||
from .base import BaseRepository
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ Revision ID: d9e8a2b7c401
|
||||
Revises: c7e4a9f1d2b6
|
||||
"""
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
|
||||
revision = "d9e8a2b7c401"
|
||||
down_revision = "c7e4a9f1d2b6"
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from enum import Enum
|
||||
from datetime import datetime
|
||||
from typing import Optional, Literal
|
||||
from enum import Enum
|
||||
from typing import Literal, Optional
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, Field
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import threading
|
||||
import uuid
|
||||
from datetime import datetime, timezone
|
||||
|
||||
from sqlalchemy import select, update, delete
|
||||
from sqlalchemy import delete, select, update
|
||||
from sqlalchemy.ext.asyncio import AsyncSession
|
||||
from watchdog.events import FileSystemEventHandler
|
||||
from watchdog.observers import Observer
|
||||
@@ -24,7 +24,7 @@ from gns3server.utils.image_inventory import (
|
||||
image_lock,
|
||||
normalized_path,
|
||||
)
|
||||
from gns3server.utils.images import inspect_image_file, InvalidImageError, ImageChangedError
|
||||
from gns3server.utils.images import ImageChangedError, InvalidImageError, inspect_image_file
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
COUNTERS = (
|
||||
|
||||
Reference in new issue
Block a user