Skip to content

Commit 89e49bb

Browse files
committed
mypy fix
1 parent 0701757 commit 89e49bb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

services/api-server/src/simcore_service_api_server/services_http/solver_job_models_converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def create_node_inputs_from_job_inputs(
6464

6565
node_inputs: dict[InputID, InputTypes] = {}
6666
for name, value in inputs.values.items():
67-
assert TypeAdapter(ArgumentTypes).validate_python(value) == value # type: ignore # nosec
67+
assert TypeAdapter(ArgumentTypes).validate_python(value) == value # nosec
6868
assert TypeAdapter(KeyIDStr).validate_python(name) is not None # nosec
6969

7070
if isinstance(value, File):

services/api-server/src/simcore_service_api_server/services_http/solver_job_outputs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ async def get_solver_output_results(
4444
port.property_type,
4545
port.value,
4646
)
47-
assert TypeAdapter(ResultsTypes).validate_python(port.value) == port.value # type: ignore # nosec
47+
assert (
48+
TypeAdapter(ResultsTypes).validate_python(port.value) == port.value
49+
) # nosec
4850

4951
solver_output_results[port.key] = port.value
5052

0 commit comments

Comments
 (0)