Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
address review feedback
  • Loading branch information
parthea committed Oct 13, 2023
commit e120a0cdb589d390848b0711ff21c9ff4aab26a9
5 changes: 1 addition & 4 deletions google/api_core/bidi.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ def _is_active(self):
# Note: there is a possibility that this starts *before* the call
# property is set. So we have to check if self.call is set before
# seeing if it's active.
if self.call is not None and not self.call.is_active():
return False
else:
return True
return self.call is not None and self.call.is_active()

def __iter__(self):
if self._initial_request is not None:
Expand Down