
    ZTh	                     d    d Z ddlZddlmZ  G d de      Z G d de      Zd Z G d	 d
e      Z	y)zEClient and server classes corresponding to protobuf-defined services.    N)ping_pb2c                       e Zd ZdZd Zy)PingServiceStub8Missing associated documentation comment in .proto file.c                     |j                  dt        j                  j                  t        j                  j
                        | _        y)zIConstructor.

        Args:
            channel: A grpc.Channel.
        /sift.ping.v1.PingService/Ping)request_serializerresponse_deserializerN)unary_unary"sift_dot_ping_dot_v1_dot_ping__pb2PingRequestSerializeToStringPingResponse
FromStringPing)selfchannels     _/home/www/backend.miabetepe.com/venv/lib/python3.12/site-packages/sift/ping/v1/ping_pb2_grpc.py__init__zPingServiceStub.__init__   s<     ''0#E#Q#Q#c#c&H&U&U&`&` ( 	    N)__name__
__module____qualname____doc__r    r   r   r   r      s
    B
r   r   c                       e Zd ZdZd Zy)PingServiceServicerr   c                     |j                  t        j                  j                         |j	                  d       t        d      )r   zMethod not implemented!)set_codegrpc
StatusCodeUNIMPLEMENTEDset_detailsNotImplementedError)r   requestcontexts      r   r   zPingServiceServicer.Ping   s5    66756!";<<r   N)r   r   r   r   r   r   r   r   r   r      s
    B=r   r   c                     dt        j                  | j                  t        j                  j
                  t        j                  j                        i}t        j                  d|      }|j                  |f       y )Nr   )request_deserializerresponse_serializerzsift.ping.v1.PingService)
r    unary_unary_rpc_method_handlerr   r   r   r   r   r   method_handlers_generic_handleradd_generic_rpc_handlers)servicerserverrpc_method_handlersgeneric_handlers       r   !add_PingServiceServicer_to_serverr1   "   sh    D77MM)K)W)W)b)b(J(W(W(i(i ::&(;=O
##_$67r   c                   2    e Zd ZdZe	 	 	 	 	 	 	 	 dd       Zy)PingServicer   Nc
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r    experimentalr   r   r   r   r   r   )
r%   targetoptionschannel_credentialscall_credentialsinsecurecompressionwait_for_readytimeoutmetadatas
             r   r   zPingService.Ping3   sX       ,,Wf>^.::LL.;;FF(&^Wh	X 	Xr   )r   NNFNNNN)r   r   r   r   staticmethodr   r   r   r   r3   r3   0   s3    B  $!X Xr   r3   )
r   r    sift.ping.v1r   r   objectr   r   r1   r3   r   r   r   <module>rB      s9    K  Gf  =& =
8X& Xr   