Skip to content

Commit 536c6d2

Browse files
committed
chore: partial revert of PR #357
This reverts commit e120a0c.
1 parent 3069ef4 commit 536c6d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

google/api_core/bidi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ def _is_active(self):
9292
# Note: there is a possibility that this starts *before* the call
9393
# property is set. So we have to check if self.call is set before
9494
# seeing if it's active.
95-
return self.call is not None and self.call.is_active()
95+
if self.call is not None and not self.call.is_active():
96+
return False
97+
else:
98+
return True
9699

97100
def __iter__(self):
98101
if self._initial_request is not None:

0 commit comments

Comments
 (0)