Skip to content

Commit 805bd9e

Browse files
author
Andrei Neagu
committed
fixed parsing issue
1 parent 3a9de60 commit 805bd9e

File tree

1 file changed

+6
-2
lines changed
  • services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules

1 file changed

+6
-2
lines changed

services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/nodeports.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ async def upload_outputs( # pylint:disable=too-many-statements # noqa: PLR0915
100100
PORTS: Nodeports = await node_ports_v2.ports(
101101
user_id=settings.DY_SIDECAR_USER_ID,
102102
project_id=ProjectIDStr(settings.DY_SIDECAR_PROJECT_ID),
103-
node_uuid=TypeAdapter(NodeIDStr).validate_python(settings.DY_SIDECAR_NODE_ID),
103+
node_uuid=TypeAdapter(NodeIDStr).validate_python(
104+
f"{settings.DY_SIDECAR_NODE_ID}"
105+
),
104106
r_clone_settings=None,
105107
io_log_redirect_cb=io_log_redirect_cb,
106108
aws_s3_cli_settings=None,
@@ -320,7 +322,9 @@ async def download_target_ports(
320322
PORTS: Nodeports = await node_ports_v2.ports(
321323
user_id=settings.DY_SIDECAR_USER_ID,
322324
project_id=ProjectIDStr(settings.DY_SIDECAR_PROJECT_ID),
323-
node_uuid=TypeAdapter(NodeIDStr).validate_python(settings.DY_SIDECAR_NODE_ID),
325+
node_uuid=TypeAdapter(NodeIDStr).validate_python(
326+
f"{settings.DY_SIDECAR_NODE_ID}"
327+
),
324328
r_clone_settings=None,
325329
io_log_redirect_cb=io_log_redirect_cb,
326330
aws_s3_cli_settings=None,

0 commit comments

Comments
 (0)