Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit b11e09c

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

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎google/cloud/bigquery/client.py‎

Copy file name to clipboardExpand all lines: google/cloud/bigquery/client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139

140140
if typing.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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.