Skip to content

Commit 8ba1080

Browse files
committed
use Final[str]
1 parent 4492c2e commit 8ba1080

File tree

1 file changed

+2
-2
lines changed
  • services/api-server/src/simcore_service_api_server/api/routes

1 file changed

+2
-2
lines changed

services/api-server/src/simcore_service_api_server/api/routes/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import logging
2-
from typing import Annotated, Any
2+
from typing import Annotated, Any, Final
33

44
from fastapi import APIRouter, Depends, FastAPI, status
55
from models_library.api_schemas_long_running_tasks.base import TaskProgress
@@ -26,7 +26,7 @@
2626
create_route_description,
2727
)
2828

29-
_ASYNC_JOB_CLIENT_NAME = "API_SERVER"
29+
_ASYNC_JOB_CLIENT_NAME: Final[str] = "API_SERVER"
3030

3131
router = APIRouter()
3232
_logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)