Skip to content

Commit 0d48e79

Browse files
committed
fixes
1 parent cb5ec0e commit 0d48e79

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

services/api-server/src/simcore_service_api_server/api/routes/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def _get_spooled_file_size(file_io: IO) -> int:
114114
async def upload_file(
115115
request: Request,
116116
file: Annotated[UploadFile, FileParam(...)],
117-
content_length: Annotated[str | None, Header(None)],
118117
user_id: Annotated[int, Depends(get_current_user_id)],
118+
content_length: str | None = Header(None), # noqa: B008
119119
):
120120
"""Uploads a single file to the system"""
121121
# TODO: For the moment we upload file here and re-upload to S3

services/api-server/src/simcore_service_api_server/db/tables.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@
66

77
metadata: TypeAlias = api_keys.metadata
88

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
1611

1712
__all__: tuple[str, ...] = (
1813
"api_keys",

0 commit comments

Comments
 (0)