
    i                     :    d dl mZ ddlmZmZmZ  G d de      Zy)   )RetryConfig    )
NamedTupleOptionalDictc                       e Zd ZU dZdZeed<   dZeed<   dZ	eed<   dZ
eed<   d	Zee   ed
<   d	Zeeeef      ed<   d	Zeeeef      ed<   edefd       Zy	)GRPCClientConfiga  
    GRPC client configuration options.

    :param secure: Whether to use encrypted protocol (SSL). defaults to True.
    :type secure: bool, optional
    :param timeout: defaults to 2 seconds. Fail if gateway doesn't receive response within timeout.
    :type timeout: int, optional
    :param conn_timeout: defaults to 1. Timeout to retry connection if gRPC is unavailable. 0 is no retry.
    :type conn_timeout: int, optional
    :param reuse_channel: Whether to reuse the same grpc channel for multiple requests
    :type reuse_channel: bool, optional
    :param retry_config: RetryConfig indicating how requests should be retried
    :type retry_config: RetryConfig, optional
    :param grpc_channel_options: A dict of gRPC channel arguments
    :type grpc_channel_options: Dict[str, str]
    :param additional_metadata: Additional metadata to be sent to the server with each request. Note that this
        metadata refers to [gRPC metadata](https://grpc.io/docs/guides/metadata/) which is a concept similar
        to HTTP headers. This is unrelated to the metadata can be stored with a vector in the index.
    :type additional_metadata: Dict[str, str]
    Tsecure   timeoutr   conn_timeoutreuse_channelNretry_configgrpc_channel_optionsadditional_metadatakwargsc                     |j                         D ci c]  \  }}|| j                  v s|| }}} | di |S c c}}w )N )items_fields)clsr   kkvv
cls_kwargss        f/var/www/catia.catastroantioquia-mas.com/valormas/lib/python3.12/site-packages/pinecone/grpc/config.py
_from_dictzGRPCClientConfig._from_dict#   sB    +1<<>ORR3;;=Nb"fO
O Z   Ps   ;;)__name__
__module____qualname____doc__r
   bool__annotations__r   intr   r   r   r   r   r   r   strr   classmethoddictr   r       r   r	   r	      s    * FDGSL#M4*.L(;'.59(4S>2948$sCx.18! ! !r'   r	   N)retryr   typingr   r   r   r	   r   r'   r   <module>r*      s     - -!!z !!r'   