Skip to content

Commit f5be8bb

Browse files
committed
typing
1 parent 4d35791 commit f5be8bb

File tree

1 file changed

+2
-2
lines changed
  • services/dask-sidecar/src/simcore_service_dask_sidecar/utils

1 file changed

+2
-2
lines changed

services/dask-sidecar/src/simcore_service_dask_sidecar/utils/files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import mimetypes
55
import time
66
import zipfile
7-
from collections.abc import Awaitable, Callable
7+
from collections.abc import Callable, Coroutine
88
from io import IOBase
99
from pathlib import Path
1010
from typing import Any, Final, TypedDict, cast
@@ -25,7 +25,7 @@
2525
S3_FILE_SYSTEM_SCHEMES: Final = ["s3", "s3a"]
2626

2727

28-
LogPublishingCB = Callable[[LogMessageStr, LogLevelInt], Awaitable[None]]
28+
LogPublishingCB = Callable[[LogMessageStr, LogLevelInt], Coroutine[Any, Any, None]]
2929

3030

3131
def _file_progress_cb(

0 commit comments

Comments
 (0)