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

Public Member Functions

None __init__ (self, cygrpc.AioChannel channel, bytes method, SerializingFunction request_serializer, DeserializingFunction response_deserializer, Optional[Sequence[ClientInterceptor]] interceptors, List[Any] references, asyncio.AbstractEventLoop loop)
 

Static Private Member Functions

Metadata _init_metadata (Optional[Metadata] metadata=None, Optional[grpc.Compression] compression=None)
 

Private Attributes

 _channel
 
 _interceptors
 
 _loop
 
 _method
 
 _references
 
 _request_serializer
 
 _response_deserializer
 

Detailed Description

Base class of all multi callable objects.

Handles the initialization logic and stores common attributes.

Definition at line 72 of file grpc/aio/_channel.py.

Constructor & Destructor Documentation

◆ __init__()

None grpc.aio._channel._BaseMultiCallable.__init__ (   self,
cygrpc.AioChannel  channel,
bytes  method,
SerializingFunction  request_serializer,
DeserializingFunction  response_deserializer,
Optional[Sequence[ClientInterceptor]]  interceptors,
List[Any references,
asyncio.AbstractEventLoop  loop 
)

Definition at line 87 of file grpc/aio/_channel.py.

Member Function Documentation

◆ _init_metadata()

Metadata grpc.aio._channel._BaseMultiCallable._init_metadata ( Optional[Metadata]   metadata = None,
Optional[grpc.Compression]   compression = None 
)
staticprivate
Based on the provided values for <metadata> or <compression> initialise the final
metadata, as it should be used for the current call.

Definition at line 106 of file grpc/aio/_channel.py.

Member Data Documentation

◆ _channel

grpc.aio._channel._BaseMultiCallable._channel
private

Definition at line 89 of file grpc/aio/_channel.py.

◆ _interceptors

grpc.aio._channel._BaseMultiCallable._interceptors
private

Definition at line 93 of file grpc/aio/_channel.py.

◆ _loop

grpc.aio._channel._BaseMultiCallable._loop
private

Definition at line 88 of file grpc/aio/_channel.py.

◆ _method

grpc.aio._channel._BaseMultiCallable._method
private

Definition at line 90 of file grpc/aio/_channel.py.

◆ _references

grpc.aio._channel._BaseMultiCallable._references
private

Definition at line 94 of file grpc/aio/_channel.py.

◆ _request_serializer

grpc.aio._channel._BaseMultiCallable._request_serializer
private

Definition at line 91 of file grpc/aio/_channel.py.

◆ _response_deserializer

grpc.aio._channel._BaseMultiCallable._response_deserializer
private

Definition at line 92 of file grpc/aio/_channel.py.


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


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