Thanks to visit codestin.com Credit goes to github.com
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 3304ef1 commit e120a0cCopy full SHA for e120a0c
google/api_core/bidi.py
@@ -92,10 +92,7 @@ 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
- if self.call is not None and not self.call.is_active():
96
- return False
97
- else:
98
- return True
+ return self.call is not None and self.call.is_active()
99
100
def __iter__(self):
101
if self._initial_request is not None:
0 commit comments