File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
services/api-server/src/simcore_service_api_server Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ def _get_spooled_file_size(file_io: IO) -> int:
114
114
async def upload_file (
115
115
request : Request ,
116
116
file : Annotated [UploadFile , FileParam (...)],
117
- content_length : Annotated [str | None , Header (None )],
118
117
user_id : Annotated [int , Depends (get_current_user_id )],
118
+ content_length : str | None = Header (None ), # noqa: B008
119
119
):
120
120
"""Uploads a single file to the system"""
121
121
# TODO: For the moment we upload file here and re-upload to S3
Original file line number Diff line number Diff line change 6
6
7
7
metadata : TypeAlias = api_keys .metadata
8
8
9
- assert api_keys # nosec
10
- assert groups # nosec
11
- assert GroupType # nosec
12
- assert user_to_groups # nosec
13
- assert UserRole # nosec
14
- assert users # nosec
15
- assert UserStatus # nosec
9
+
10
+ # nopycln: file
16
11
17
12
__all__ : tuple [str , ...] = (
18
13
"api_keys" ,
You can’t perform that action at this time.
0 commit comments