We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4906fb3 commit 493813fCopy full SHA for 493813f
services/storage/src/simcore_service_storage/simcore_s3_dsm.py
@@ -7,7 +7,7 @@
7
from contextlib import suppress
8
from dataclasses import dataclass
9
from pathlib import Path
10
-from typing import Any, Final, cast
+from typing import Any, Final
11
12
from aws_library.s3 import (
13
CopiedBytesTransferredCallback,
@@ -634,7 +634,7 @@ async def create_file_download_link(
634
4. Raises FileAccessRightError if the user does not have access to the file
635
"""
636
directory_file_id = await get_directory_file_id(
637
- get_db_engine(self.app), cast(SimcoreS3FileID, file_id)
+ get_db_engine(self.app), file_id
638
)
639
can = await AccessLayerRepository.instance(
640
get_db_engine(self.app)
0 commit comments