
    (ph"`              "          S r SSKrSSKrSSKrSSKrSSKrSSKJrJrJ	r	J
r
JrJrJrJrJrJr  SSKrSSKJr  \" S5      r\" S5      r\\\\4      r\\\\\R0                     \\R2                     4   r\R6                  " \5      rSr\\R>                  ;   a6  \R@                  " \!" \R>                  \   5      S9r"\RG                  S	\"5        O\R@                  " S
S9r"Sr$\$\R>                  ;   a(  \%" \R>                  \$   5      r&\RG                  S\&5        OSr&Sr'\'\R>                  ;   a(  \!" \R>                  \'   5      r(\RG                  S\(5        OSr(S\S\\\\4      S\\R0                     S\\R2                     S\RR                  4
S jr* " S S5      r+\SSSSSSSS\(SS4S\S\S\S\\	\/\,4      S\\	\,/\4      S\\\\4      S\\R0                     S \-S!\\R\                     S\\R2                     S"\\-   S#\\!   S$\\\\\\\,4   4         S%\\-   S\4S& jj5       r/\SSSSSSSS\(SS4S\S\S\S\\	\/\,4      S\\	\,/\4      S\\\\4      S\\R0                     S \-S!\\R\                     S\\R2                     S"\\-   S#\\!   S$\\\\\\\,4   4         S%\\-   S\\   4S' jj5       r0\SSSSSSSS\(SS4S(\\   S\S\S\\	\/\,4      S\\	\,/\4      S\\\\4      S\\R0                     S \-S!\\R\                     S\\R2                     S"\\-   S#\\!   S$\\\\\\\,4   4         S%\\-   S\4S) jj5       r1\SSSSSSSS\(SS4S(\\   S\S\S\\	\/\,4      S\\	\,/\4      S\\\\4      S\\R0                     S \-S!\\R\                     S\\R2                     S"\\-   S#\\!   S$\\\\\\\,4   4         S%\\-   S\\   4S* jj5       r2g)+z<Functions that obviate explicit stubs and explicit channels.    N)
AnyAnyStrCallableDictIteratorOptionalSequenceTupleTypeVarUnion)experimental_apiRequestTypeResponseType,GRPC_PYTHON_MANAGED_CHANNEL_EVICTION_SECONDS)secondsz-Setting managed channel eviction period to %s
   )minutes#GRPC_PYTHON_MANAGED_CHANNEL_MAXIMUMz&Setting maximum managed channels to %d   #GRPC_PYTHON_DEFAULT_TIMEOUT_SECONDSz%Setting default timeout seconds to %fg      N@targetoptionschannel_credentialscompressionreturnc                 v    [         R                  SU S3SU SU S3-   5        [        R                  " U UUUS9$ )Nz*Creating secure channel with credentials 'z', z	options 'z' and compression '')credentialsr   r   )_LOGGERdebuggrpcsecure_channel)r   r   r   r   s       E/var/www/html/venv/lib/python3.13/site-packages/grpc/_simple_stubs.py_create_channelr$   L   sX     MM
45H4IMgY1+a
@	A '	     c                      \ rS rSr% Sr\R                  " 5       r\R                  \S'   \R                  " \S9r
\R                  \S'   \R                  " 5       r\R                  \S'   \\\\R"                  \R$                  4   4   \S'   \R&                  \S'   S	 r\S
 5       rS\4S jr\S 5       rS\S\\\\4      S\\R8                     S\S\\R<                     S\S\S\\R"                  \\   4   4S jr S\4S jr!Sr"g)ChannelCache^   N_lock)lock
_condition_eviction_ready_mapping_eviction_threadc                     [         R                  " 5       U l        [        R                  " [
        R                  SS9U l        U R                  R                  5         g )NT)r   daemon)	collectionsOrderedDictr-   	threadingThreadr'   _perform_evictionsr.   startselfs    r#   __init__ChannelCache.__init__h   sD    #//1 ) 0 0224!
 	##%r%   c                      [         R                     [         R                  c  [        5       [         l        S S S 5        [         R                  R	                  5         [         R                  $ ! , (       d  f       N<= fN)r'   r)   
_singletonr,   wait r%   r#   getChannelCache.geto   sO    &&.*6.'   	$$))+&&&	  s   %A,,
A:keyc                     U R                   R                  U5      u  p#[        R                  SX!5        UR	                  5         Ag )Nz*Evicting channel %s with configuration %s.)r-   popr   r    close)r8   rB   channel_s       r#   _evict_lockedChannelCache._evict_lockedw   s7    ]]&&s+
8'	
 	r%   c                      [         R                     [         R                  R                  5         [         R                  R
                  (       d   [         R                  R                  5         GOA[        [         R                  R
                  5      [        :  aZ  [        [        [         R                  R
                  R                  5       5      5      n [         R                  R                  U 5        O[        [        [         R                  R
                  R                  5       5      5      u  n u  p[        R                  R!                  5       nX#::  a+  [         R                  R                  U 5         S S S 5        GM  X#-
  R#                  5       n[         R                  R                  US9  S S S 5        GM  ! , (       d  f       N= f)N)timeout)r'   r)   r,   setr=   r-   r+   r>   len_MAXIMUM_CHANNELSnextiterkeysrH   itemsdatetimenowtotal_seconds)rB   rG   eviction_timerT   time_to_evictions        r#   r5   ChannelCache._perform_evictions   s>   ##,,002#..77 ++0020099:=NNtL$;$;$D$D$I$I$KLMC ++99#> /3\44==CCEF/+C+! #++//1C$+$//==cB  $#" -:,?+N+N+P( %//44=M4N/ $ ##s   E%F</F<<
G
r   r   r   insecurer   method_registered_methodr   c                    U(       a  U(       a  [        S5      eU(       a  [        R                  R                  5       nO-Uc*  [        R                  S5        [        R                  " 5       nXX54nU R                     U R                  R                  US5      n	Sn
U	bx  U	S   nU(       a  UR                  U5      n
U R                  R                  U5        U[        R                  R                  5       [        -   4U R                  U'   X4sSSS5        $ [        XX55      nU(       a  UR                  U5      n
U[        R                  R                  5       [        -   4U R                  U'   [!        U R                  5      S:X  d  [!        U R                  5      ["        :  a  U R$                  R'                  5         X4sSSS5        $ ! , (       d  f       g= f)a  Get a channel from cache or creates a new channel.

This method also takes care of register method for channel,
  which means we'll register a new call handle if we're calling a
  non-registered method for an existing channel.

Returns:
    A tuple with two items. The first item is the channel, second item is
      the call handle if the method is registered, None if it's not registered.
zkThe insecure option is mutually exclusive with the channel_credentials option. Please use one or the other.Nz&Defaulting to SSL channel credentials.r      )
ValueErrorr!   experimentalinsecure_channel_credentialsr   r    ssl_channel_credentialsr)   r-   r@   _get_registered_call_handlerD   rS   rT   _EVICTION_PERIODr$   rM   rN   r+   notify)r8   r   r   r   rY   r   rZ   r[   rB   channel_datacall_handlerF   s               r#   get_channelChannelCache.get_channel   s   ( +" 
 !!>>@   !(MMBC"&">">"@ 3AZZ==,,S$7LK'&q/ &")"E"Ef"MK!!#&%%))+.>>&c" + Z  *%8 &")"E"Ef"MK%%))+.>>&c"
 &!+4==)->>OO**,+= ZZs   =BGB*G
Gc                 z    U R                      [        U R                  5      sS S S 5        $ ! , (       d  f       g = fr<   )r)   rM   r-   r7   s    r#   _test_only_channel_count%ChannelCache._test_only_channel_count   s    ZZt}}% ZZs   ,
:)r.   r-   )#__name__
__module____qualname____firstlineno__r=   r3   RLockr)   __annotations__	Conditionr+   Eventr,   r   CacheKeyr
   r!   ChannelrS   r4   r9   staticmethodr@   rH   r5   strr	   r   ChannelCredentialsboolCompressionintrg   rj   __static_attributes__r?   r%   r#   r'   r'   ^   sU   J&__.E9??.&/&9&9u&EJ	##E'0'8OY__88U4<<1B1B#BCCDD&&&& ' '  O O6@,@, %S/*@, &d&=&=>	@,
 @, d../@, @, !@, 
t||Xc]*	+@,D&# &r%   r'   r?   FrequestrZ   request_serializerresponse_deserializerrY   call_credentialswait_for_readyrK   metadatar[   c           	          [         R                  5       R                  UUUUU	UU5      u  pUR                  X#XO5      nU
b  U
OSn
U" U UU
UUS9$ )a*
  Invokes a unary-unary RPC without an explicitly specified channel.

THIS IS AN EXPERIMENTAL API.

This is backed by a per-process cache of channels. Channels are evicted
from the cache after a fixed period by a background. Channels will also be
evicted if more than a configured maximum accumulate.

The default eviction period is 10 minutes. One may set the environment
variable "GRPC_PYTHON_MANAGED_CHANNEL_EVICTION_SECONDS" to configure this.

The default maximum number of channels is 256. One may set the
environment variable "GRPC_PYTHON_MANAGED_CHANNEL_MAXIMUM" to configure
this.

Args:
  request: An iterator that yields request values for the RPC.
  target: The server address.
  method: The name of the RPC method.
  request_serializer: Optional :term:`serializer` for serializing the request
    message. Request goes unserialized in case None is passed.
  response_deserializer: Optional :term:`deserializer` for deserializing the response
    message. Response goes undeserialized in case None is passed.
  options: An optional list of key-value pairs (:term:`channel_arguments` in gRPC Core
    runtime) to configure the channel.
  channel_credentials: A credential applied to the whole channel, e.g. the
    return value of grpc.ssl_channel_credentials() or
    grpc.insecure_channel_credentials().
  insecure: If True, specifies channel_credentials as
    :term:`grpc.insecure_channel_credentials()`. This option is mutually
    exclusive with the `channel_credentials` option.
  call_credentials: A call credential applied to each call individually,
    e.g. the output of grpc.metadata_call_credentials() or
    grpc.access_token_call_credentials().
  compression: An optional value indicating the compression method to be
    used over the lifetime of the channel, e.g. grpc.Compression.Gzip.
  wait_for_ready: An optional flag indicating whether the RPC should fail
    immediately if the connection is not ready at the time the RPC is
    invoked, or if it should wait until the connection to the server
    becomes ready. When using this option, the user will likely also want
    to set a timeout. Defaults to True.
  timeout: An optional duration of time in seconds to allow for the RPC,
    after which an exception will be raised. If timeout is unspecified,
    defaults to a timeout controlled by the
    GRPC_PYTHON_DEFAULT_TIMEOUT_SECONDS environment variable. If that is
    unset, defaults to 60 seconds. Supply a value of None to indicate that
    no timeout should be enforced.
  metadata: Optional metadata to send to the server.

Returns:
  The response to the RPC.
Tr   r   r   rK   )r'   r@   rg   unary_unaryr}   r   rZ   r~   r   r   r   rY   r   r   r   rK   r   r[   rF   method_handlemulticallables                    r#   r   r      sx    L *--/;;G ''$9M (6'A^tN%$ r%   c           	          [         R                  5       R                  UUUUU	UU5      u  pUR                  X#XO5      nU
b  U
OSn
U" U UU
UUS9$ )a
  Invokes a unary-stream RPC without an explicitly specified channel.

THIS IS AN EXPERIMENTAL API.

This is backed by a per-process cache of channels. Channels are evicted
from the cache after a fixed period by a background. Channels will also be
evicted if more than a configured maximum accumulate.

The default eviction period is 10 minutes. One may set the environment
variable "GRPC_PYTHON_MANAGED_CHANNEL_EVICTION_SECONDS" to configure this.

The default maximum number of channels is 256. One may set the
environment variable "GRPC_PYTHON_MANAGED_CHANNEL_MAXIMUM" to configure
this.

Args:
  request: An iterator that yields request values for the RPC.
  target: The server address.
  method: The name of the RPC method.
  request_serializer: Optional :term:`serializer` for serializing the request
    message. Request goes unserialized in case None is passed.
  response_deserializer: Optional :term:`deserializer` for deserializing the response
    message. Response goes undeserialized in case None is passed.
  options: An optional list of key-value pairs (:term:`channel_arguments` in gRPC Core
    runtime) to configure the channel.
  channel_credentials: A credential applied to the whole channel, e.g. the
    return value of grpc.ssl_channel_credentials().
  insecure: If True, specifies channel_credentials as
    :term:`grpc.insecure_channel_credentials()`. This option is mutually
    exclusive with the `channel_credentials` option.
  call_credentials: A call credential applied to each call individually,
    e.g. the output of grpc.metadata_call_credentials() or
    grpc.access_token_call_credentials().
  compression: An optional value indicating the compression method to be
    used over the lifetime of the channel, e.g. grpc.Compression.Gzip.
  wait_for_ready: An optional flag indicating whether the RPC should fail
    immediately if the connection is not ready at the time the RPC is
    invoked, or if it should wait until the connection to the server
    becomes ready. When using this option, the user will likely also want
    to set a timeout. Defaults to True.
  timeout: An optional duration of time in seconds to allow for the RPC,
    after which an exception will be raised. If timeout is unspecified,
    defaults to a timeout controlled by the
    GRPC_PYTHON_DEFAULT_TIMEOUT_SECONDS environment variable. If that is
    unset, defaults to 60 seconds. Supply a value of None to indicate that
    no timeout should be enforced.
  metadata: Optional metadata to send to the server.

Returns:
  An iterator of responses.
Tr   )r'   r@   rg   unary_streamr   s                    r#   r   r   >  sx    J *--/;;G (($9M (6'A^tN%$ r%   request_iteratorc           	          [         R                  5       R                  UUUUU	UU5      u  pUR                  X#XO5      nU
b  U
OSn
U" U UU
UUS9$ )a	
  Invokes a stream-unary RPC without an explicitly specified channel.

THIS IS AN EXPERIMENTAL API.

This is backed by a per-process cache of channels. Channels are evicted
from the cache after a fixed period by a background. Channels will also be
evicted if more than a configured maximum accumulate.

The default eviction period is 10 minutes. One may set the environment
variable "GRPC_PYTHON_MANAGED_CHANNEL_EVICTION_SECONDS" to configure this.

The default maximum number of channels is 256. One may set the
environment variable "GRPC_PYTHON_MANAGED_CHANNEL_MAXIMUM" to configure
this.

Args:
  request_iterator: An iterator that yields request values for the RPC.
  target: The server address.
  method: The name of the RPC method.
  request_serializer: Optional :term:`serializer` for serializing the request
    message. Request goes unserialized in case None is passed.
  response_deserializer: Optional :term:`deserializer` for deserializing the response
    message. Response goes undeserialized in case None is passed.
  options: An optional list of key-value pairs (:term:`channel_arguments` in gRPC Core
    runtime) to configure the channel.
  channel_credentials: A credential applied to the whole channel, e.g. the
    return value of grpc.ssl_channel_credentials().
  call_credentials: A call credential applied to each call individually,
    e.g. the output of grpc.metadata_call_credentials() or
    grpc.access_token_call_credentials().
  insecure: If True, specifies channel_credentials as
    :term:`grpc.insecure_channel_credentials()`. This option is mutually
    exclusive with the `channel_credentials` option.
  compression: An optional value indicating the compression method to be
    used over the lifetime of the channel, e.g. grpc.Compression.Gzip.
  wait_for_ready: An optional flag indicating whether the RPC should fail
    immediately if the connection is not ready at the time the RPC is
    invoked, or if it should wait until the connection to the server
    becomes ready. When using this option, the user will likely also want
    to set a timeout. Defaults to True.
  timeout: An optional duration of time in seconds to allow for the RPC,
    after which an exception will be raised. If timeout is unspecified,
    defaults to a timeout controlled by the
    GRPC_PYTHON_DEFAULT_TIMEOUT_SECONDS environment variable. If that is
    unset, defaults to 60 seconds. Supply a value of None to indicate that
    no timeout should be enforced.
  metadata: Optional metadata to send to the server.

Returns:
  The response to the RPC.
Tr   )r'   r@   rg   stream_unaryr   r   rZ   r~   r   r   r   rY   r   r   r   rK   r   r[   rF   r   r   s                    r#   r   r     sx    J *--/;;G (($9M (6'A^tN%$ r%   c           	          [         R                  5       R                  UUUUU	UU5      u  pUR                  X#XO5      nU
b  U
OSn
U" U UU
UUS9$ )a
  Invokes a stream-stream RPC without an explicitly specified channel.

THIS IS AN EXPERIMENTAL API.

This is backed by a per-process cache of channels. Channels are evicted
from the cache after a fixed period by a background. Channels will also be
evicted if more than a configured maximum accumulate.

The default eviction period is 10 minutes. One may set the environment
variable "GRPC_PYTHON_MANAGED_CHANNEL_EVICTION_SECONDS" to configure this.

The default maximum number of channels is 256. One may set the
environment variable "GRPC_PYTHON_MANAGED_CHANNEL_MAXIMUM" to configure
this.

Args:
  request_iterator: An iterator that yields request values for the RPC.
  target: The server address.
  method: The name of the RPC method.
  request_serializer: Optional :term:`serializer` for serializing the request
    message. Request goes unserialized in case None is passed.
  response_deserializer: Optional :term:`deserializer` for deserializing the response
    message. Response goes undeserialized in case None is passed.
  options: An optional list of key-value pairs (:term:`channel_arguments` in gRPC Core
    runtime) to configure the channel.
  channel_credentials: A credential applied to the whole channel, e.g. the
    return value of grpc.ssl_channel_credentials().
  call_credentials: A call credential applied to each call individually,
    e.g. the output of grpc.metadata_call_credentials() or
    grpc.access_token_call_credentials().
  insecure: If True, specifies channel_credentials as
    :term:`grpc.insecure_channel_credentials()`. This option is mutually
    exclusive with the `channel_credentials` option.
  compression: An optional value indicating the compression method to be
    used over the lifetime of the channel, e.g. grpc.Compression.Gzip.
  wait_for_ready: An optional flag indicating whether the RPC should fail
    immediately if the connection is not ready at the time the RPC is
    invoked, or if it should wait until the connection to the server
    becomes ready. When using this option, the user will likely also want
    to set a timeout. Defaults to True.
  timeout: An optional duration of time in seconds to allow for the RPC,
    after which an exception will be raised. If timeout is unspecified,
    defaults to a timeout controlled by the
    GRPC_PYTHON_DEFAULT_TIMEOUT_SECONDS environment variable. If that is
    unset, defaults to 60 seconds. Supply a value of None to indicate that
    no timeout should be enforced.
  metadata: Optional metadata to send to the server.

Returns:
  An iterator of responses.
Tr   )r'   r@   rg   stream_streamr   s                    r#   r   r     sx    J *--/;;G ))$9M (6'A^tN%$ r%   )3__doc__r1   rS   loggingosr3   typingr   r   r   r   r   r   r	   r
   r   r   r!   grpc.experimentalr   r   r   rw   OptionsTyperx   rz   rt   	getLoggerrl   r   _EVICTION_PERIOD_KEYenviron	timedeltafloatrc   r    _MAXIMUM_CHANNELS_KEYr{   rN   _DEFAULT_TIMEOUT_KEY_DEFAULT_TIMEOUTru   r$   r'   bytesry   CallCredentialsr   r   r   r   r?   r%   r#   <module>r      s:   C    	     .m$~&uS#X'T$$%T  

H
%E 2::%))bjj!567 MM79I  ))"5= BJJ&BJJ'<=>MM:<MN< 2::%RZZ(<=>MM9;KLeCHo& "$"9"9: $**+	
 
\\$A& A&H  <@>B/1=A7;.2%)/BF).WWW W !3%,!78	W
 $HeWc\$:;W eFFN+,W "$"9"9:W W t334W $**+W TNW e_W xc5e+<&< =>?W !W W Wt  <@>B/1=A7;.2%)/BF).VVV V !3%,!78	V
 $HeWc\$:;V eFFN+,V "$"9"9:V V t334V $**+V TNV e_V xc5e+<&< =>?V !V lV Vr  <@>B/1=A7;.2%)/BF).V{+VV V !3%,!78	V
 $HeWc\$:;V eFFN+,V "$"9"9:V V t334V $**+V TNV e_V xc5e+<&< =>?V !V V Vr  <@>B/1=A7;.2%)/BF).V{+VV V !3%,!78	V
 $HeWc\$:;V eFFN+,V "$"9"9:V V t334V $**+V TNV e_V xc5e+<&< =>?V !V lV Vr%   