Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 4ee9826

Browse files
committed
add .close() in Example code
1 parent d528dd0 commit 4ee9826

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

google/api_core/bidi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ class BidiRpc(BidiRpcBase):
232232
rpc.send(example_pb2.StreamingRpcRequest(
233233
data='example'))
234234
235+
rpc.close()
236+
235237
This does *not* retry the stream on errors. See :class:`ResumableBidiRpc`.
236238
237239
Args:

0 commit comments

Comments
 (0)