Skip to content

Commit

Permalink
Fix some region tags that were inconsistent
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwajvr committed Aug 22, 2024
1 parent 7879f72 commit 9776bce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions samples/samples/graph_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def update_accounts(transaction):
database.run_in_transaction(update_accounts)


# [END spanner_update_graph_data_with_graph_query_in_dml
# [END spanner_update_graph_data_with_graph_query_in_dml]


# [START spanner_query_graph_data]
Expand All @@ -307,7 +307,7 @@ def query_data(instance_id, database_id):
# [END spanner_query_graph_data]


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

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


# [END spanner_with_graph_query_data_with_parameter]
# [END spanner_query_graph_data_with_parameter]


# [START spanner_delete_graph_data_with_dml]
Expand Down Expand Up @@ -364,7 +364,7 @@ def delete_accounts(transaction):
# [END spanner_delete_graph_data_with_dml]


# [START spanner_delete_data]
# [START spanner_delete_graph_data]
def delete_data(instance_id, database_id):
"""Deletes sample data from the given database.
Expand Down Expand Up @@ -397,7 +397,7 @@ def delete_data(instance_id, database_id):
print("Deleted data.")


# [END spanner_delete_data]
# [END spanner_delete_graph_data]


if __name__ == "__main__": # noqa: C901
Expand Down

0 comments on commit 9776bce

Please sign in to comment.