Public Member Functions | List of all members
grpc.aio._base_call.StreamUnaryCall Class Reference
Inheritance diagram for grpc.aio._base_call.StreamUnaryCall:
Inheritance graph
[legend]

Public Member Functions

Awaitable[ResponseType] __await__ (self)
 
None done_writing (self)
 
None write (self, RequestType request)
 
- Public Member Functions inherited from grpc.aio._base_call.Call
grpc.StatusCode code (self)
 
str details (self)
 
Metadata initial_metadata (self)
 
Metadata trailing_metadata (self)
 
None wait_for_connection (self)
 
- Public Member Functions inherited from grpc.aio._base_call.RpcContext
None add_done_callback (self, DoneCallbackType callback)
 
bool cancel (self)
 
bool cancelled (self)
 
bool done (self)
 
Optional[float] time_remaining (self)
 

Detailed Description

Definition at line 181 of file _base_call.py.

Member Function Documentation

◆ __await__()

Awaitable[ResponseType] grpc.aio._base_call.StreamUnaryCall.__await__ (   self)
Await the response message to be ready.

Returns:
  The response message of the stream.

Definition at line 200 of file _base_call.py.

◆ done_writing()

None grpc.aio._base_call.StreamUnaryCall.done_writing (   self)
Notifies server that the client is done sending messages.

After done_writing is called, any additional invocation to the write
function will fail. This function is idempotent.

Definition at line 192 of file _base_call.py.

◆ write()

None grpc.aio._base_call.StreamUnaryCall.write (   self,
RequestType  request 
)
Writes one message to the stream.

Raises:
  An RpcError exception if the write failed.

Definition at line 184 of file _base_call.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32