Skip to content

Commit 49c8a0f

Browse files
renovate-bottswastTakashi Matsuo
authored
chore(deps): update dependency google-cloud-bigquery-storage to v2.0.1 (#88)
* chore(deps): update dependency google-cloud-bigquery-storage to v2.0.1 * test: make system test more robust I was a bit worried that since WA appeared in the request as part of the filter, the test might pass even in certain error conditions. Co-authored-by: Tim Swast <swast@google.com> Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
1 parent d0dfe3f commit 49c8a0f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bigquery_storage/quickstart/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def main(project_id="your-project-id", snapshot_millis=0):
7979
names.add(row["name"])
8080
states.add(row["state"])
8181

82-
print("Got {} unique names in states: {}".format(len(names), states))
82+
print("Got {} unique names in states: {}".format(len(names), ", ".join(states)))
8383
# [END bigquerystorage_quickstart]
8484

8585

bigquery_storage/quickstart/quickstart_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ def project_id():
3535
def test_quickstart_wo_snapshot(capsys, project_id):
3636
quickstart.main(project_id)
3737
out, _ = capsys.readouterr()
38-
assert "WA" in out
38+
assert "unique names in states: WA" in out
3939

4040

4141
def test_quickstart_with_snapshot(capsys, project_id):
4242
quickstart.main(project_id, now_millis() - 5000)
4343
out, _ = capsys.readouterr()
44-
assert "WA" in out
44+
assert "unique names in states: WA" in out
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
fastavro
2-
google-cloud-bigquery-storage==1.0.0
2+
google-cloud-bigquery-storage==2.0.1

bigquery_storage/to_dataframe/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
google-auth==1.23.0
2-
google-cloud-bigquery-storage==2.0.0
2+
google-cloud-bigquery-storage==2.0.1
33
google-cloud-bigquery==2.2.0
44
pyarrow==2.0.0
55
ipython==7.10.2; python_version > '3.0'

0 commit comments

Comments
 (0)