Skip to content

Commit 811caf0

Browse files
committed
Fix some region tags that were inconsistent
1 parent b4cb3a2 commit 811caf0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

samples/samples/graph_snippets.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def update_accounts(transaction):
283283
database.run_in_transaction(update_accounts)
284284

285285

286-
# [END spanner_update_graph_data_with_graph_query_in_dml
286+
# [END spanner_update_graph_data_with_graph_query_in_dml]
287287

288288

289289
# [START spanner_query_graph_data]
@@ -307,7 +307,7 @@ def query_data(instance_id, database_id):
307307
# [END spanner_query_graph_data]
308308

309309

310-
# [START spanner_with_graph_query_data_with_parameter]
310+
# [START spanner_query_graph_data_with_parameter]
311311
def query_data_with_parameter(instance_id, database_id):
312312
"""Queries sample data from the database using SQL with a parameter."""
313313

@@ -331,7 +331,7 @@ def query_data_with_parameter(instance_id, database_id):
331331
print("sender: {}, receiver: {}, amount: {}, transfer_at: {}".format(*row))
332332

333333

334-
# [END spanner_with_graph_query_data_with_parameter]
334+
# [END spanner_query_graph_data_with_parameter]
335335

336336

337337
# [START spanner_delete_graph_data_with_dml]
@@ -364,7 +364,7 @@ def delete_accounts(transaction):
364364
# [END spanner_delete_graph_data_with_dml]
365365

366366

367-
# [START spanner_delete_data]
367+
# [START spanner_delete_graph_data]
368368
def delete_data(instance_id, database_id):
369369
"""Deletes sample data from the given database.
370370
@@ -397,7 +397,7 @@ def delete_data(instance_id, database_id):
397397
print("Deleted data.")
398398

399399

400-
# [END spanner_delete_data]
400+
# [END spanner_delete_graph_data]
401401

402402

403403
if __name__ == "__main__": # noqa: C901

0 commit comments

Comments
 (0)