Skip to content

Commit

Permalink
docs: homogenize region tags pt 2 (#202)
Browse files Browse the repository at this point in the history
* docs: standardize region tags and fix cc lint

* docs: cleanup outer tagging now that docs are updated

Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
  • Loading branch information
Anthony and larkee committed Dec 31, 2020
1 parent e981adb commit 87789c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions samples/samples/backup_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def create_backup(instance_id, database_id, backup_id):


# [START spanner_restore_backup]
# [START spanner_restore_database]
def restore_database(instance_id, new_database_id, backup_id):
"""Restores a database from a backup."""
spanner_client = spanner.Client()
Expand All @@ -84,12 +83,10 @@ def restore_database(instance_id, new_database_id, backup_id):
)


# [END spanner_restore_database]
# [END spanner_restore_backup]


# [START spanner_cancel_backup_create]
# [START spanner_cancel_backup]
def cancel_backup(instance_id, database_id, backup_id):
spanner_client = spanner.Client()
instance = spanner_client.instance(instance_id)
Expand Down Expand Up @@ -118,7 +115,6 @@ def cancel_backup(instance_id, database_id, backup_id):
print("Backup creation was successfully cancelled.")


# [END spanner_cancel_backup]
# [END spanner_cancel_backup_create]


Expand Down

0 comments on commit 87789c9

Please sign in to comment.