Skip to content

Commit

Permalink
chore: Adjust gapic namespace to google.cloud.bigquery_datatransfer (#61
Browse files Browse the repository at this point in the history
)

* 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
  • Loading branch information
plamut authored and leahecole committed Jul 11, 2023
1 parent 8fe9854 commit 102c13e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigquery-datatransfer/snippets/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

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

client = datatransfer.DataTransferServiceClient()
client = bigquery_datatransfer.DataTransferServiceClient()

# TODO: Update to your project ID.
# project = "my-project"
Expand Down

0 comments on commit 102c13e

Please sign in to comment.