Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct type checking #1848

Merged
merged 4 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion google/cloud/bigquery/job/query.py
Expand Up @@ -1411,7 +1411,7 @@ def _reload_query_results(
# Our system does not natively handle that and instead expects
# either none or a numeric value. If passed a Python object, convert to
chalmerlowe marked this conversation as resolved.
Show resolved Hide resolved
# None.
if isinstance(self._done_timeout, object): # pragma: NO COVER
if type(self._done_timeout) is object: # pragma: NO COVER
self._done_timeout = None

if self._done_timeout is not None: # pragma: NO COVER
Expand Down