Skip to content

Commit 99ba805

Browse files
fix typecheck
1 parent 9d71230 commit 99ba805

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

services/storage/src/simcore_service_storage/modules/celery/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from uuid import UUID
44

55
from models_library.progress_bar import ProgressReport
6-
from pydantic import BaseModel, Field, model_validator
6+
from pydantic import BaseModel, model_validator
77

88
TaskContext: TypeAlias = dict[str, Any]
99
TaskID: TypeAlias = str

services/storage/tests/unit/test_db_data_export.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# pylint: disable=W0621
22
# pylint: disable=W0613
3+
# pylint: disable=R6301
34
from collections.abc import Awaitable, Callable
45
from pathlib import Path
56
from typing import Any, Literal, NamedTuple
@@ -66,7 +67,7 @@ async def get_task_status(self, *args, **kwargs) -> TaskStatus:
6667
progress_report=ProgressReport(actual_value=42.0),
6768
)
6869

69-
async def get_result(self, *args, **kwargs) -> Any:
70+
async def get_task_result(self, *args, **kwargs) -> Any:
7071
return {}
7172

7273
async def get_task_uuids(self, *args, **kwargs) -> set[TaskUUID]:

0 commit comments

Comments
 (0)