@@ -220,20 +220,16 @@ def handle_post_node_expansion(self):
220
220
- params: A JSON string containing connection parameters (project, instance, database, graph)
221
221
- request: A dictionary with node details (uid, node_labels, node_properties, direction, edge_label)
222
222
"""
223
- try :
224
- data = self .parse_post_data ()
225
-
226
- # Execute node expansion with:
227
- # - params_str: JSON string with connection parameters (project, instance, database, graph)
228
- # - request: Dict with node details (uid, node_labels, node_properties, direction, edge_label)
229
- self .do_data_response (
230
- execute_node_expansion (
231
- params = data .get ("params" ), request = data .get ("request" )
232
- )
223
+ data = self .parse_post_data ()
224
+
225
+ # Execute node expansion with:
226
+ # - params_str: JSON string with connection parameters (project, instance, database, graph)
227
+ # - request: Dict with node details (uid, node_labels, node_properties, direction, edge_label)
228
+ self .do_data_response (
229
+ execute_node_expansion (
230
+ params = data .get ("params" ), request = data .get ("request" )
233
231
)
234
- except BaseException as e :
235
- self .do_error_response (e )
236
- return
232
+ )
237
233
238
234
def do_GET (self ):
239
235
assert self .path == GraphServer .endpoints ["get_ping" ]
0 commit comments