Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

chore: Adjust gapic namespace to google.cloud.bigquery_datatransfer #61

Merged
merged 3 commits into from
Sep 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 18 additions & 2 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,24 @@ The 2.0.0 release requires Python 3.6+.

> **WARNING**: Breaking change

The library was moved into `google.cloud.bigquery` namespace. Existing imports
need to be updated.

### Version 2.1.0

The library had its old namespace restored, since importing from
`google.cloud.bigquery` clashed with the `google-cloud-bigquery` library when the
latter was also installed.

The import paths that were changed in version `2.0.0` should be reverted:

```py
from google.cloud import bigquery_datatransfer
from google.cloud import bigquery_datatransfer_v1
```
Comment on lines +42 to +53
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes we will release the namespace adjustment in v2.1.0.

Version 2.1.0 can be viewed as a non-trivial "fix" of the v2.0.0 release, but if we want to release it as v3.0.0, please comment below.


### Version 2.0.0

(obsolete) The library was moved into `google.cloud.bigquery` namespace. Existing
imports need to be updated, unless using a version `>=2.1.0`.

**Before:**
```py
Expand Down