Skip to content

Commit 090dc4b

Browse files
Update packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1/writer.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 9cda81f commit 090dc4b

File tree

1 file changed

+1
-1
lines changed
  • packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1

1 file changed

+1
-1
lines changed

packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
_DEFAULT_TIMEOUT = 600
4545

4646

47-
def _wrap_as_exception(maybe_exception) -> Union[Exception, BaseException]:
47+
def _wrap_as_exception(maybe_exception) -> BaseException:
4848
"""Wrap an object as a Python exception, if needed.
4949
Args:
5050
maybe_exception (Any): The object to wrap, usually a gRPC exception class.

0 commit comments

Comments
 (0)