Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix: Update default timeout value
Changed _DEFAULT_VALUE from empty object (unsupported type by downstream methods) to None (one of the expected types)
  • Loading branch information
TMo484 authored Aug 25, 2023
commit 04a1fd37b932f744ae48fff5fffb00703ea78433
2 changes: 1 addition & 1 deletion google/api_core/future/polling.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class PollingFuture(base.Future):
compatibility.
"""

_DEFAULT_VALUE = object()
_DEFAULT_VALUE = None

def __init__(self, polling=DEFAULT_POLLING, **kwargs):
super(PollingFuture, self).__init__()
Expand Down