File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/service-library/src/servicelib/aiohttp
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ async def parse_request_body_as(
194194 # NOTE: model_schema can be 'list[T]' or 'dict[T]' which raise TypeError
195195 # with issubclass(model_schema, BaseModel)
196196 assert issubclass (model_schema_cls , BaseModel ) # nosec
197- return model_schema_cls .model_validate (body ) # type: ignore [return-value]
197+ return model_schema_cls .model_validate (body )
198198
199199 # used for model_schema like 'list[T]' or 'dict[T]'
200200 return TypeAdapter (model_schema_cls ).validate_python (body ) # type: ignore[no-any-return]
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ async def upload_outputs( # pylint:disable=too-many-statements # noqa: PLR0915
167167 # generic case let's create an archive
168168 # only the filtered out files will be zipped
169169 tmp_folder = Path (
170- await stack .enter_async_context (AioTemporaryDirectory ()) # type: ignore[arg-type]
170+ await stack .enter_async_context (AioTemporaryDirectory ())
171171 )
172172 tmp_file = tmp_folder / f"{ src_folder .stem } .zip"
173173
You can’t perform that action at this time.
0 commit comments