| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/libexec/oracle-cloud-agent/plugins/osms/grpc/aio/ |
Upload File : |
a
K��fF6 � @ s� d Z ddlZddlmZmZ ddlZddlmZ ddlm Z ddlm
Z
ddlmZ dd lmZ dd
lm
Z
ddlmZ G dd
� d
eee
f ej�ZG dd� deee
f ej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZdS )zDAbstract base classes for Channel objects and Multicallable objects.� N)�Generic�Optional� )�
_base_call)�DeserializingFunction)�MetadataType)�RequestIterableType)�RequestType)�ResponseType)�SerializingFunctionc @ s` e Zd ZdZejdddddd�eee ee ee
j ee ee
j
ejeef d�dd��ZdS )�UnaryUnaryMultiCallablez4Enables asynchronous invocation of a unary-call RPC.N��timeout�metadata�credentials�wait_for_ready�compression��requestr r r r r �returnc C s dS )ar Asynchronously 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.
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: An optional flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g.
grpc.compression.Gzip.
Returns:
A UnaryUnaryCall object.
Raises:
RpcError: Indicates that the RPC terminated with non-OK status. The
raised RpcError will also be a Call for the RPC affording the RPC's
metadata, status code, and details.
N� ��selfr r r r r r r r �z/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/grpc/aio/_base_channel.py�__call__! s z UnaryUnaryMultiCallable.__call__)�__name__�
__module__�__qualname__�__doc__�abc�abstractmethodr r �floatr �grpc�CallCredentials�bool�Compressionr �UnaryUnaryCallr
r r r r r r s ��r c @ s` e Zd ZdZejdddddd�eee ee ee
j ee ee
j
ejeef d�dd��ZdS )�UnaryStreamMultiCallablez:Enables asynchronous invocation of a server-streaming RPC.Nr
r c C s dS )as Asynchronously 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.
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: An optional flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g.
grpc.compression.Gzip.
Returns:
A UnaryStreamCall object.
Raises:
RpcError: Indicates that the RPC terminated with non-OK status. The
raised RpcError will also be a Call for the RPC affording the RPC's
metadata, status code, and details.
Nr r r r r r G s z!UnaryStreamMultiCallable.__call__)r r r r r r r r r! r r"