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

Public Member Functions

def __call__ (self, request, timeout=None, metadata=None, credentials=None, wait_for_ready=None, compression=None)
 
def __init__ (self, thunk, method, interceptor)
 

Private Attributes

 _interceptor
 
 _method
 
 _thunk
 

Detailed Description

Definition at line 304 of file _interceptor.py.

Constructor & Destructor Documentation

◆ __init__()

def grpc._interceptor._UnaryStreamMultiCallable.__init__ (   self,
  thunk,
  method,
  interceptor 
)

Definition at line 306 of file _interceptor.py.

Member Function Documentation

◆ __call__()

def grpc._interceptor._UnaryStreamMultiCallable.__call__ (   self,
  request,
  timeout = None,
  metadata = None,
  credentials = None,
  wait_for_ready = None,
  compression = None 
)
Invokes the underlying RPC.

Args:
  request: The request value for the RPC.
  timeout: An optional duration of time in seconds to allow for
    the RPC. If None, the timeout is considered infinite.
  metadata: An 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.UnaryStreamMultiCallable.

Definition at line 311 of file _interceptor.py.

Member Data Documentation

◆ _interceptor

grpc._interceptor._UnaryStreamMultiCallable._interceptor
private

Definition at line 309 of file _interceptor.py.

◆ _method

grpc._interceptor._UnaryStreamMultiCallable._method
private

Definition at line 308 of file _interceptor.py.

◆ _thunk

grpc._interceptor._UnaryStreamMultiCallable._thunk
private

Definition at line 307 of file _interceptor.py.


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


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