
    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)channels_pb2c                       e Zd ZdZd Zy)ChannelServiceStub8Missing associated documentation comment in .proto file.c                    |j                  dt        j                  j                  t        j                  j
                        | _        |j                  dt        j                  j                  t        j                  j
                        | _	        |j                  dt        j                  j                  t        j                  j
                        | _        y)zIConstructor.

        Args:
            channel: A grpc.Channel.
        +/sift.channels.v3.ChannelService/GetChannel)request_serializerresponse_deserializer-/sift.channels.v3.ChannelService/ListChannels./sift.channels.v3.ChannelService/UpdateChannelN)unary_unary*sift_dot_channels_dot_v3_dot_channels__pb2GetChannelRequestSerializeToStringGetChannelResponse
FromString
GetChannelListChannelsRequestListChannelsResponseListChannelsUpdateChannelRequestUpdateChannelResponseUpdateChannel)selfchannels     g/home/www/backend.miabetepe.com/venv/lib/python3.12/site-packages/sift/channels/v3/channels_pb2_grpc.py__init__zChannelServiceStub.__init__   s     "--=#M#_#_#q#q&P&c&c&n&n . 
 $//?#M#a#a#s#s&P&e&e&p&p 0 
 %00@#M#b#b#t#t&P&f&f&q&q 1     N)__name__
__module____qualname____doc__r    r   r   r   r      s
    Br   r   c                   "    e Zd ZdZd Zd Zd Zy)ChannelServiceServicerr   c                     |j                  t        j                  j                         |j	                  d       t        d      )zRetrieve a channel
        Method not implemented!set_codegrpc
StatusCodeUNIMPLEMENTEDset_detailsNotImplementedErrorr   requestcontexts      r   r   z!ChannelServiceServicer.GetChannel%   7     	66756!";<<r   c                     |j                  t        j                  j                         |j	                  d       t        d      )z4Retrieve channels using an optional filter.
        r'   r(   r/   s      r   r   z#ChannelServiceServicer.ListChannels,   r2   r   c                     |j                  t        j                  j                         |j	                  d       t        d      )zUpdate a channel
        r'   r(   r/   s      r   r   z$ChannelServiceServicer.UpdateChannel3   r2   r   N)r   r    r!   r"   r   r   r   r#   r   r   r%   r%   "   s    B===r   r%   c                 @   t        j                  | j                  t        j                  j
                  t        j                  j                        t        j                  | j                  t        j                  j
                  t        j                  j                        t        j                  | j                  t        j                  j
                  t        j                  j                        d}t        j                  d|      }|j                  |f       y )N)request_deserializerresponse_serializer)r   r   r   zsift.channels.v3.ChannelService)r*   unary_unary_rpc_method_handlerr   r   r   r   r   r   r   r   r   r   r   r   method_handlers_generic_handleradd_generic_rpc_handlers)servicerserverrpc_method_handlersgeneric_handlers       r   $add_ChannelServiceServicer_to_serverr?   ;   s    =='')S)e)e)p)p(R(e(e(w(w
 !??)))S)g)g)r)r(R(g(g(y(y
 "@@**)S)h)h)s)s(R(h(h(z(z" ::-/BDO
##_$67r   c                   v    e Zd ZdZe	 	 	 	 	 	 	 	 dd       Ze	 	 	 	 	 	 	 	 dd       Ze	 	 	 	 	 	 	 	 dd       Zy)ChannelServicer   Nc
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r*   experimentalr   r   r   r   r   r   
r0   targetoptionschannel_credentialscall_credentialsinsecurecompressionwait_for_readytimeoutmetadatas
             r   r   zChannelService.GetChannelV   sX       ,,Wf>k6HHZZ6IITT(&^Wh	X 	Xr   c
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r*   rC   r   r   r   r   r   r   rD   s
             r   r   zChannelService.ListChannelsg   sX       ,,Wf>m6JJ\\6KKVV(&^Wh	X 	Xr   c
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r*   rC   r   r   r   r   r   r   rD   s
             r   r   zChannelService.UpdateChannelx   sX       ,,Wf>n6KK]]6LLWW(&^Wh	X 	Xr   )r#   NNFNNNN)r   r    r!   r"   staticmethodr   r   r   r#   r   r   rA   rA   S   s    B  $!X X    $!X X    $!X Xr   rA   )
r"   r*   sift.channels.v3r   r   objectr   r%   r?   rA   r#   r   r   <module>rS      s9    K  W 4=V =2804XV 4Xr   