Public Member Functions | Private Attributes | List of all members
grpc._channel._StreamStreamMultiCallable Class Reference
Inheritance diagram for grpc._channel._StreamStreamMultiCallable:
Inheritance graph
[legend]

Public Member Functions

def __call__ (self, request_iterator, timeout=None, metadata=None, credentials=None, wait_for_ready=None, compression=None)
 
def __init__ (self, channel, managed_call, method, request_serializer, response_deserializer)
 

Private Attributes

 _channel
 
 _context
 
 _managed_call
 
 _method
 
 _request_serializer
 
 _response_deserializer
 

Detailed Description

Definition at line 1171 of file grpc/_channel.py.

Constructor & Destructor Documentation

◆ __init__()

def grpc._channel._StreamStreamMultiCallable.__init__ (   self,
  channel,
  managed_call,
  method,
  request_serializer,
  response_deserializer 
)

Definition at line 1174 of file grpc/_channel.py.

Member Function Documentation

◆ __call__()

def grpc._channel._StreamStreamMultiCallable.__call__ (   self,
  request_iterator,
  timeout = None,
  metadata = None,
  credentials = None,
  wait_for_ready = None,
  compression = None 
)
Invokes the underlying RPC on the client.

Args:
  request_iterator: An iterator that yields request values for the RPC.
  timeout: An optional duration of time in seconds to allow for
    the RPC. If not specified, the timeout is considered infinite.
  metadata: Optional :term:`metadata` to be transmitted to the
    service-side of the RPC.
  credentials: An optional CallCredentials for the RPC. Only valid for
    secure Channel.
  wait_for_ready: This is an EXPERIMENTAL argument. An optional
    flag to enable :term:`wait_for_ready` mechanism.
  compression: An element of grpc.compression, e.g.
    grpc.compression.Gzip. This is an EXPERIMENTAL option.

Returns:
    An object that is a Call for the RPC, an iterator of response
    values, and a Future for the RPC. Drawing response values from the
    returned Call-iterator may raise RpcError indicating termination of
    the RPC with non-OK status.

Reimplemented from grpc.StreamStreamMultiCallable.

Definition at line 1183 of file grpc/_channel.py.

Member Data Documentation

◆ _channel

grpc._channel._StreamStreamMultiCallable._channel
private

Definition at line 1175 of file grpc/_channel.py.

◆ _context

grpc._channel._StreamStreamMultiCallable._context
private

Definition at line 1180 of file grpc/_channel.py.

◆ _managed_call

grpc._channel._StreamStreamMultiCallable._managed_call
private

Definition at line 1176 of file grpc/_channel.py.

◆ _method

grpc._channel._StreamStreamMultiCallable._method
private

Definition at line 1177 of file grpc/_channel.py.

◆ _request_serializer

grpc._channel._StreamStreamMultiCallable._request_serializer
private

Definition at line 1178 of file grpc/_channel.py.

◆ _response_deserializer

grpc._channel._StreamStreamMultiCallable._response_deserializer
private

Definition at line 1179 of file grpc/_channel.py.


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


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