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

Public Member Functions

None __init__ (self, Sequence[UnaryStreamClientInterceptor] interceptors, RequestType request, Optional[float] timeout, Metadata metadata, Optional[grpc.CallCredentials] credentials, Optional[bool] wait_for_ready, cygrpc.AioChannel channel, bytes method, SerializingFunction request_serializer, DeserializingFunction response_deserializer, asyncio.AbstractEventLoop loop)
 
Optional[float] time_remaining (self)
 
- Public Member Functions inherited from grpc.aio._interceptor._InterceptedStreamResponseMixin
AsyncIterable[ResponseType] __aiter__ (self)
 
ResponseType read (self)
 
- Public Member Functions inherited from grpc.aio._interceptor.InterceptedCall
def __del__ (self)
 
None __init__ (self, asyncio.Task interceptors_task)
 
None add_done_callback (self, DoneCallbackType callback)
 
bool cancel (self)
 
bool cancelled (self)
 
grpc.StatusCode code (self)
 
Optional[str] debug_error_string (self)
 
str details (self)
 
bool done (self)
 
Optional[Metadatainitial_metadata (self)
 
Optional[Metadatatrailing_metadata (self)
 
None wait_for_connection (self)
 
- Public Member Functions inherited from grpc.aio._base_call.UnaryStreamCall
AsyncIterable[ResponseType] __aiter__ (self)
 
Union[EOFType, ResponseType] read (self)
 
- 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)
 

Private Member Functions

UnaryStreamCall _invoke (self, Sequence[UnaryUnaryClientInterceptor] interceptors, bytes method, Optional[float] timeout, Optional[Metadata] metadata, Optional[grpc.CallCredentials] credentials, Optional[bool] wait_for_ready, RequestType request, SerializingFunction request_serializer, DeserializingFunction response_deserializer)
 

Private Attributes

 _channel
 
 _loop
 

Static Private Attributes

 _last_returned_call_from_interceptors = Optional[_base_call.UnaryStreamCall]
 

Detailed Description

Used for running a `UnaryStreamCall` wrapped by interceptors.

Definition at line 639 of file aio/_interceptor.py.

Constructor & Destructor Documentation

◆ __init__()

None grpc.aio._interceptor.InterceptedUnaryStreamCall.__init__ (   self,
Sequence[UnaryStreamClientInterceptor interceptors,
RequestType  request,
Optional[float]  timeout,
Metadata  metadata,
Optional[grpc.CallCredentials credentials,
Optional[bool wait_for_ready,
cygrpc.AioChannel  channel,
bytes  method,
SerializingFunction  request_serializer,
DeserializingFunction  response_deserializer,
asyncio.AbstractEventLoop  loop 
)

Definition at line 647 of file aio/_interceptor.py.

Member Function Documentation

◆ _invoke()

UnaryStreamCall grpc.aio._interceptor.InterceptedUnaryStreamCall._invoke (   self,
Sequence[UnaryUnaryClientInterceptor interceptors,
bytes  method,
Optional[float]  timeout,
Optional[Metadata metadata,
Optional[grpc.CallCredentials credentials,
Optional[bool wait_for_ready,
RequestType  request,
SerializingFunction  request_serializer,
DeserializingFunction  response_deserializer 
)
private
Run the RPC call wrapped in interceptors

Definition at line 666 of file aio/_interceptor.py.

◆ time_remaining()

Optional[float] grpc.aio._interceptor.InterceptedUnaryStreamCall.time_remaining (   self)

Reimplemented from grpc.aio._interceptor.InterceptedCall.

Definition at line 714 of file aio/_interceptor.py.

Member Data Documentation

◆ _channel

grpc.aio._interceptor.InterceptedUnaryStreamCall._channel
private

Definition at line 649 of file aio/_interceptor.py.

◆ _last_returned_call_from_interceptors

grpc.aio._interceptor.InterceptedUnaryStreamCall._last_returned_call_from_interceptors = Optional[_base_call.UnaryStreamCall]
staticprivate

Definition at line 644 of file aio/_interceptor.py.

◆ _loop

grpc.aio._interceptor.InterceptedUnaryStreamCall._loop
private

Definition at line 648 of file aio/_interceptor.py.


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


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