Skip to content

Commit 21b3e1c

Browse files
committed
mypy
1 parent df1ba3e commit 21b3e1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/storage/src/simcore_service_storage/simcore_s3_dsm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from contextlib import suppress
88
from dataclasses import dataclass
99
from pathlib import Path
10-
from typing import Any, Final, cast
10+
from typing import Any, Final
1111

1212
from aws_library.s3 import (
1313
CopiedBytesTransferredCallback,
@@ -634,7 +634,7 @@ async def create_file_download_link(
634634
4. Raises FileAccessRightError if the user does not have access to the file
635635
"""
636636
directory_file_id = await get_directory_file_id(
637-
get_db_engine(self.app), cast(SimcoreS3FileID, file_id)
637+
get_db_engine(self.app), file_id
638638
)
639639
can = await AccessLayerRepository.instance(
640640
get_db_engine(self.app)

0 commit comments

Comments
 (0)