ui_migration lint(fix): ruff fix
This commit is contained in:
parent
b94ebaa1c4
commit
1b16917542
1 changed files with 1 additions and 4 deletions
|
|
@ -9,6 +9,7 @@ from functools import wraps
|
||||||
from typing import Any, Callable, Optional
|
from typing import Any, Callable, Optional
|
||||||
|
|
||||||
import uvicorn
|
import uvicorn
|
||||||
|
from fastapi.middleware.cors import CORSMiddleware # vue3 migration
|
||||||
from uvicorn.main import Server
|
from uvicorn.main import Server
|
||||||
|
|
||||||
import labthings_fastapi as lt
|
import labthings_fastapi as lt
|
||||||
|
|
@ -27,10 +28,6 @@ from ..logging import (
|
||||||
from .legacy_api import add_v2_endpoints
|
from .legacy_api import add_v2_endpoints
|
||||||
from .serve_static_files import add_static_files
|
from .serve_static_files import add_static_files
|
||||||
|
|
||||||
# vue3 migration
|
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
|
||||||
|
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
DEVELOPER_MODE = True
|
DEVELOPER_MODE = True
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue