Skip to content

Commit

Permalink
chore(bigquery): release 1.23.0 (#9961)
Browse files Browse the repository at this point in the history
* chore(bigquery): release 1.23.0

* doc: sentence-case for changelog

* fix: add timeouts to unit tests
  • Loading branch information
tswast committed Dec 12, 2019
1 parent d2518ae commit 72c1275
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
20 changes: 20 additions & 0 deletions bigquery/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@

[1]: https://pypi.org/project/google-cloud-bigquery/#history

## 1.23.0

12-11-2019 13:31 PST

### New Features

- Add `close()` method to client for releasing open sockets. ([#9894](https://github.com/googleapis/google-cloud-python/pull/9894))
- Add support of `use_avro_logical_types` for extract jobs. ([#9642](https://github.com/googleapis/google-cloud-python/pull/9642))
- Add support for hive partitioning options configuration. ([#9626](https://github.com/googleapis/google-cloud-python/pull/9626))
- Add description for routine entities. ([#9785](https://github.com/googleapis/google-cloud-python/pull/9785))

### Documentation

- Update code samples to use strings for table and dataset IDs. ([#9495](https://github.com/googleapis/google-cloud-python/pull/9495))

### Internal / Testing Changes

- Run unit tests with Python 3.8. ([#9880](https://github.com/googleapis/google-cloud-python/pull/9880))
- Import `Mapping` from `collections.abc` not from `collections`. ([#9826](https://github.com/googleapis/google-cloud-python/pull/9826))

## 1.22.0

11-13-2019 12:23 PST
Expand Down
2 changes: 1 addition & 1 deletion bigquery/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

name = "google-cloud-bigquery"
description = "Google BigQuery API client library"
version = "1.22.0"
version = "1.23.0"
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
Expand Down
12 changes: 10 additions & 2 deletions bigquery/tests/unit/test__http.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ def test_user_agent(self):
}
expected_uri = conn.build_api_url("/rainbow")
http.request.assert_called_once_with(
data=req_data, headers=expected_headers, method="GET", url=expected_uri
data=req_data,
headers=expected_headers,
method="GET",
url=expected_uri,
timeout=None,
)
self.assertIn("my-application/1.2.3", conn.user_agent)

Expand Down Expand Up @@ -104,5 +108,9 @@ def test_extra_headers_replace(self):
}
expected_uri = conn.build_api_url("/rainbow")
http.request.assert_called_once_with(
data=req_data, headers=expected_headers, method="GET", url=expected_uri
data=req_data,
headers=expected_headers,
method="GET",
url=expected_uri,
timeout=None,
)
1 change: 1 addition & 0 deletions bigquery/tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,7 @@ def test_get_table_sets_user_agent(self):
"User-Agent": expected_user_agent,
},
data=mock.ANY,
timeout=None,
)
self.assertIn("my-application/1.2.3", expected_user_agent)

Expand Down

0 comments on commit 72c1275

Please sign in to comment.