@@ -30,7 +30,8 @@ async def register_nodes(namespace_name: str, body: RegisterNodesRequestModel, x
3030 RegisteredNode .runtime_name : body .runtime_name ,
3131 RegisteredNode .runtime_namespace : namespace_name ,
3232 RegisteredNode .inputs_schema : node_data .inputs_schema , # type: ignore
33- RegisteredNode .outputs_schema : node_data .outputs_schema # type: ignore
33+ RegisteredNode .outputs_schema : node_data .outputs_schema , # type: ignore
34+ RegisteredNode .secrets : node_data .secrets # type: ignore
3435 }))
3536 logger .info (f"Updated existing node { node_data .name } in namespace { namespace_name } " , x_exosphere_request_id = x_exosphere_request_id )
3637
@@ -42,7 +43,8 @@ async def register_nodes(namespace_name: str, body: RegisterNodesRequestModel, x
4243 runtime_name = body .runtime_name ,
4344 runtime_namespace = namespace_name ,
4445 inputs_schema = node_data .inputs_schema ,
45- outputs_schema = node_data .outputs_schema
46+ outputs_schema = node_data .outputs_schema ,
47+ secrets = node_data .secrets
4648 )
4749 await new_node .insert ()
4850 logger .info (f"Created new node { node_data .name } in namespace { namespace_name } " , x_exosphere_request_id = x_exosphere_request_id )
@@ -51,7 +53,8 @@ async def register_nodes(namespace_name: str, body: RegisterNodesRequestModel, x
5153 RegisteredNodeModel (
5254 name = node_data .name ,
5355 inputs_schema = node_data .inputs_schema ,
54- outputs_schema = node_data .outputs_schema
56+ outputs_schema = node_data .outputs_schema ,
57+ secrets = node_data .secrets
5558 )
5659 )
5760
0 commit comments