
    Igl                     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)logservice_pb2c                       e Zd ZdZd Zy)LogServiceStub8Missing associated documentation comment in .proto file.c                 L   |j                  dt        j                  j                  t        j                  j
                        | _        |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.
        /chroma.LogService/PushLogs)request_serializerresponse_deserializer/chroma.LogService/PullLogs0/chroma.LogService/GetAllCollectionInfoToCompact,/chroma.LogService/UpdateCollectionLogOffsetN)unary_unary&chromadb_dot_proto_dot_logservice__pb2PushLogsRequestSerializeToStringPushLogsResponse
FromStringPushLogsPullLogsRequestPullLogsResponsePullLogs$GetAllCollectionInfoToCompactRequest%GetAllCollectionInfoToCompactResponseGetAllCollectionInfoToCompact UpdateCollectionLogOffsetRequest!UpdateCollectionLogOffsetResponseUpdateCollectionLogOffset)selfchannels     _/var/www/html/answerous/venv/lib/python3.12/site-packages/chromadb/proto/logservice_pb2_grpc.py__init__zLogServiceStub.__init__   s      ++-#I#Y#Y#k#k&L&]&]&h&h , 
  ++-#I#Y#Y#k#k&L&]&]&h&h , 
 .5-@-@B#I#n#n  $A  $A&L&r&r&}&} .A .*
 *1)<)<>#I#j#j#|#|&L&n&n&y&y *= *&    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d Zy)LogServiceServicerr   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LogServiceServicer.PushLogs*   5    66756!";<<r"   c                     |j                  t        j                  j                         |j	                  d       t        d      r+   r,   r3   s      r    r   zLogServiceServicer.PullLogs0   r6   r"   c                     |j                  t        j                  j                         |j	                  d       t        d      r+   r,   r3   s      r    r   z0LogServiceServicer.GetAllCollectionInfoToCompact6   r6   r"   c                     |j                  t        j                  j                         |j	                  d       t        d      r+   r,   r3   s      r    r   z,LogServiceServicer.UpdateCollectionLogOffset<   r6   r"   N)r#   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                        t        j                  | j                  t        j                  j
                  t        j                   j                        d}t        j"                  d|      }|j%                  |f       y )N)request_deserializerresponse_serializer)r   r   r   r   zchroma.LogService)r.   unary_unary_rpc_method_handlerr   r   r   r   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_LogServiceServicer_to_serverrD   C   s   ;;%%)O)_)_)j)j(N(_(_(q(q
 ;;%%)O)_)_)j)j(N(_(_(q(q
 .2-P-P::)O)t)t))(N(t(t  )G  )G.
 *.)L)L66)O)p)p){){(N(p(p  )C  )C*!, ::!46O
##_$67r"   c                       e Zd ZdZe	 	 	 	 	 	 	 	 dd       Ze	 	 	 	 	 	 	 	 dd       Ze	 	 	 	 	 	 	 	 dd       Ze	 	 	 	 	 	 	 	 dd       Zy)
LogServicer   Nc
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r.   experimentalr   r   r   r   r   r   
r4   targetoptionschannel_credentialscall_credentialsinsecurecompressionwait_for_readytimeoutmetadatas
             r    r   zLogService.PushLogsc   X       ,,Wf>[2BBTT2CCNN(&^Wh	X 	Xr"   c
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r.   rH   r   r   r   r   r   r   rI   s
             r    r   zLogService.PullLogst   rS   r"   c
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r.   rH   r   r   r   r   r   r   rI   s
             r    r   z(LogService.GetAllCollectionInfoToCompact   sX       ,,Wf>p2WWii2XXcc(&^Wh	X 	Xr"   c
                     t         j                  j                  | |dt        j                  j
                  t        j                  j                  ||||||||	      S )Nr   )r.   rH   r   r   r   r   r   r   rI   s
             r    r   z$LogService.UpdateCollectionLogOffset   sX       ,,Wf>l2SSee2TT__(&^Wh	X 	Xr"   )r'   NNFNNNN)	r#   r$   r%   r&   staticmethodr   r   r   r   r'   r"   r    rF   rF   `   s    B  $!X X    $!X X    $!X X    $!X Xr"   rF   )
r&   r.   chromadb.protor   r   objectr   r)   rD   rF   r'   r"   r    <module>rZ      s;    K  SV >= =88:EX EXr"   