Skip to content

Commit 9d0dab4

Browse files
pylint ignore
1 parent ae33d6e commit 9d0dab4

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

services/web/server/src/simcore_service_webserver/projects/_controller/nodes_rest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ async def patch_project_node(request: web.Request) -> web.Response:
178178
path_params = parse_request_path_parameters_as(NodePathParams, request)
179179
node_patch = await parse_request_body_as(NodePatch, request)
180180

181+
# MD: Here is the issue
181182
await _projects_service.patch_project_node(
182183
request.app,
183184
product_name=req_ctx.product_name,

services/web/server/src/simcore_service_webserver/projects/_projects_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ async def patch_project_node(
11141114
project_id=project_id,
11151115
user_id=user_id,
11161116
product_name=product_name,
1117-
permission="write", # NOTE: MD: before only read was sufficient, double check this
1117+
permission="write",
11181118
)
11191119

11201120
# 2. If patching service key or version make sure it's valid

services/web/server/tests/unit/isolated/notifications/test_wallet_osparc_credits.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Unit tests for wallet_osparc_credits.py subscribe and unsubscribe functions
2-
import asyncio
1+
# pylint: disable=redefined-outer-name
2+
# pylint: disable=unused-argument
3+
# pylint: disable=unused-importimport asyncio
34
from unittest.mock import AsyncMock, patch
45

56
import pytest

0 commit comments

Comments
 (0)