Skip to content

Commit 72c1275

Browse files
authored
chore(bigquery): release 1.23.0 (#9961)
* chore(bigquery): release 1.23.0 * doc: sentence-case for changelog * fix: add timeouts to unit tests
1 parent d2518ae commit 72c1275

File tree

4 files changed

+32
-3
lines changed

4 files changed

+32
-3
lines changed

bigquery/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44

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

7+
## 1.23.0
8+
9+
12-11-2019 13:31 PST
10+
11+
### New Features
12+
13+
- Add `close()` method to client for releasing open sockets. ([#9894](https://github.com/googleapis/google-cloud-python/pull/9894))
14+
- Add support of `use_avro_logical_types` for extract jobs. ([#9642](https://github.com/googleapis/google-cloud-python/pull/9642))
15+
- Add support for hive partitioning options configuration. ([#9626](https://github.com/googleapis/google-cloud-python/pull/9626))
16+
- Add description for routine entities. ([#9785](https://github.com/googleapis/google-cloud-python/pull/9785))
17+
18+
### Documentation
19+
20+
- Update code samples to use strings for table and dataset IDs. ([#9495](https://github.com/googleapis/google-cloud-python/pull/9495))
21+
22+
### Internal / Testing Changes
23+
24+
- Run unit tests with Python 3.8. ([#9880](https://github.com/googleapis/google-cloud-python/pull/9880))
25+
- Import `Mapping` from `collections.abc` not from `collections`. ([#9826](https://github.com/googleapis/google-cloud-python/pull/9826))
26+
727
## 1.22.0
828

929
11-13-2019 12:23 PST

bigquery/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
name = "google-cloud-bigquery"
2424
description = "Google BigQuery API client library"
25-
version = "1.22.0"
25+
version = "1.23.0"
2626
# Should be one of:
2727
# 'Development Status :: 3 - Alpha'
2828
# 'Development Status :: 4 - Beta'

bigquery/tests/unit/test__http.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ def test_user_agent(self):
7575
}
7676
expected_uri = conn.build_api_url("/rainbow")
7777
http.request.assert_called_once_with(
78-
data=req_data, headers=expected_headers, method="GET", url=expected_uri
78+
data=req_data,
79+
headers=expected_headers,
80+
method="GET",
81+
url=expected_uri,
82+
timeout=None,
7983
)
8084
self.assertIn("my-application/1.2.3", conn.user_agent)
8185

@@ -104,5 +108,9 @@ def test_extra_headers_replace(self):
104108
}
105109
expected_uri = conn.build_api_url("/rainbow")
106110
http.request.assert_called_once_with(
107-
data=req_data, headers=expected_headers, method="GET", url=expected_uri
111+
data=req_data,
112+
headers=expected_headers,
113+
method="GET",
114+
url=expected_uri,
115+
timeout=None,
108116
)

bigquery/tests/unit/test_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,7 @@ def test_get_table_sets_user_agent(self):
15521552
"User-Agent": expected_user_agent,
15531553
},
15541554
data=mock.ANY,
1555+
timeout=None,
15551556
)
15561557
self.assertIn("my-application/1.2.3", expected_user_agent)
15571558

0 commit comments

Comments
 (0)