Skip to content
Permalink
Browse files
docs: homogenize region tags pt 2 (#202)
* 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
Strykrol and larkee committed Dec 31, 2020
1 parent e981adb commit 87789c939990794bfd91f5300bedc449fd74bd7e
Showing with 0 additions and 4 deletions.
  1. +0 −4 samples/samples/backup_sample.py
@@ -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()
@@ -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)
@@ -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]


0 comments on commit 87789c9

Please sign in to comment.