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 comments
  • Loading branch information
parthea committed Oct 13, 2023
commit c7f63bd270d81f75abdf0282bd3c4be4de02bdbd
3 changes: 3 additions & 0 deletions google/api_core/bidi.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ def add_done_callback(self, callback):
self._callbacks.append(callback)

def _on_call_done(self, future):
# Note that grpc's "future" here is also a grpc.RpcError.
# `grpc.RpcError` is also `grpc.call` based on
# https://github.com/grpc/grpc/issues/10885#issuecomment-302651331
for callback in self._callbacks:
callback(future)

Expand Down