Skip to content

Commit dd4570d

Browse files
committed
ruff fix
1 parent 35bba89 commit dd4570d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

state-manager/app/controller/register_nodes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ async def register_nodes(namespace_name: str, body: RegisterNodesRequestModel, x
3333
RegisteredNode.outputs_schema: node_data.outputs_schema # type: ignore
3434
}))
3535
logger.info(f"Updated existing node {node_data.name} in namespace {namespace_name}", x_exosphere_request_id=x_exosphere_request_id)
36+
3637
else:
3738
# Create new node
3839
new_node = RegisteredNode(
@@ -43,7 +44,7 @@ async def register_nodes(namespace_name: str, body: RegisterNodesRequestModel, x
4344
inputs_schema=node_data.inputs_schema,
4445
outputs_schema=node_data.outputs_schema
4546
)
46-
inserted_node = await new_node.insert()
47+
await new_node.insert()
4748
logger.info(f"Created new node {node_data.name} in namespace {namespace_name}", x_exosphere_request_id=x_exosphere_request_id)
4849

4950
registered_nodes.append(

0 commit comments

Comments
 (0)