File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
services/storage/src/simcore_service_storage Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def _list_filter_with_partial_file_id_stmt(
7272 file_id_prefix : str | None ,
7373 partial_file_id : str | None ,
7474 sha256_checksum : SHA256Str | None ,
75- is_directory : bool | None = None ,
75+ is_directory : bool | None ,
7676 limit : int | None = None ,
7777 offset : int | None = None ,
7878):
@@ -119,7 +119,7 @@ async def list_filter_with_partial_file_id(
119119 file_id_prefix : str | None ,
120120 partial_file_id : str | None ,
121121 sha256_checksum : SHA256Str | None ,
122- is_directory : bool | None = None ,
122+ is_directory : bool | None ,
123123 limit : int | None = None ,
124124 offset : int | None = None ,
125125) -> list [FileMetaDataAtDB ]:
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ async def list_files( # noqa C901
185185 user_id = uid , project_ids = accessible_projects_ids
186186 ),
187187 file_id_prefix = None ,
188+ is_directory = None ,
188189 partial_file_id = uuid_filter ,
189190 sha256_checksum = None ,
190191 )
Original file line number Diff line number Diff line change @@ -123,5 +123,4 @@ async def _get_fmd(
123123
124124def compute_file_id_prefix (file_id : str , levels : int ):
125125 components = file_id .strip ("/" ).split ("/" )
126- subpath = "/" .join (components [:levels ])
127- return "/" + subpath if subpath else "/"
126+ return "/" .join (components [:levels ])
You can’t perform that action at this time.
0 commit comments