Skip to content

Commit 4ee9826

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)