Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e120a0c

Browse files
committed
address review feedback
1 parent 3304ef1 commit e120a0c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

google/api_core/bidi.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@ 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-
if self.call is not None and not self.call.is_active():
96-
return False
97-
else:
98-
return True
95+
return self.call is not None and self.call.is_active()
9996

10097
def __iter__(self):
10198
if self._initial_request is not None:

0 commit comments

Comments
 (0)