Skip to content

Commit 22d55fc

Browse files
plamutdizcology
authored andcommitted
chore: Adjust gapic namespace to google.cloud.bigquery_datatransfer (#61)
* chore: use google.cloud.bigquery_datatransfer namespace Using google.cloud.bigquery.datatransfer turned out to be too problematic to use with the google.cloud.bigquery library (namespace clashes). * Adjust code to renamed namespace * Update UPGRADING guide with new (old) namespace
1 parent 28ba240 commit 22d55fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigquery-datatransfer/snippets/quickstart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
def run_quickstart(project="my-project"):
1919
# [START bigquerydatatransfer_quickstart]
20-
from google.cloud.bigquery import datatransfer
20+
from google.cloud import bigquery_datatransfer
2121

22-
client = datatransfer.DataTransferServiceClient()
22+
client = bigquery_datatransfer.DataTransferServiceClient()
2323

2424
# TODO: Update to your project ID.
2525
# project = "my-project"

0 commit comments

Comments
 (0)