Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit b11e09c

Browse files
authored
fix: include io.Base in the PathType (#2323)
1 parent fa76e31 commit b11e09c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎google/cloud/bigquery/client.py‎

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

140140
iftyping.TYPE_CHECKING: # pragma: NO COVER
141141
# os.PathLike is only subscriptable in Python 3.9+, thus shielding with a condition.
142-
PathType=Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]
142+
PathType=Union[str, bytes, os.PathLike[str], os.PathLike[bytes], io.IOBase]
143143
_DEFAULT_CHUNKSIZE=100*1024*1024# 100 MB
144144
_MAX_MULTIPART_SIZE=5*1024*1024
145145
_DEFAULT_NUM_RETRIES=6

0 commit comments

Comments
 (0)