We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3069ef4 commit 536c6d2Copy full SHA for 536c6d2
google/api_core/bidi.py
@@ -92,7 +92,10 @@ def _is_active(self):
92
# Note: there is a possibility that this starts *before* the call
93
# property is set. So we have to check if self.call is set before
94
# seeing if it's active.
95
- return self.call is not None and self.call.is_active()
+ if self.call is not None and not self.call.is_active():
96
+ return False
97
+ else:
98
+ return True
99
100
def __iter__(self):
101
if self._initial_request is not None:
0 commit comments