
    i=                     d    d dl mZmZ d dlmZmZmZ ddlmZm	Z	  ed       G d d             Z
y	)
    )	dataclassfield)OptionalDictUnion   )PodIndexEnvironmentPodTypeT)frozenc                       e Zd ZU dZeed<   	 dZee   ed<   	 dZ	ee   ed<   	 dZ
ee   ed<   	 dZee   ed<   	  ee	      Zee   ed
<   	 dZee   ed<   	 	 	 	 	 	 	 ddeeef   deeef   dee   dee   dee   d
ee   dee   fdZdefdZy)PodSpecz
    PodSpec represents the configuration used to deploy a pod-based index.

    To learn more about the options for each configuration, please see [Understanding Indexes](https://docs.pinecone.io/docs/indexes)
    environmentNreplicasshardspodsp1.x1pod_type)default_factorymetadata_configsource_collectionc                    t         j                  | dt        |t              r|j                  n
t        |             t         j                  | dt        |t              r|j                  n
t        |             t         j                  | d|       t         j                  | d|       t         j                  | d|       t         j                  | d||ni        t         j                  | d|       y )Nr   r   r   r   r   r   r   )object__setattr__
isinstancer	   valuestrr
   )selfr   r   r   r   r   r   r   s           u/var/www/catia.catastroantioquia-mas.com/valormas/lib/python3.12/site-packages/pinecone/db_control/models/pod_spec.py__init__zPodSpec.__init__9   s     	!+K9L!MKSVWbSc	

 	*
8W0MhnnSVW_S`	
 	4X64624.#8S_Y[	
 	4!46GH    returnc                     d| j                   iS )z6
        Returns the PodSpec as a dictionary.
        pod)__dict__)r   s    r   asdictzPodSpec.asdictS   s     t}}%%r    )r   NNNNN)__name__
__module____qualname____doc__r   __annotations__r   r   intr   r   r   r   dictr   r   r   r   r	   r
   r   r%    r    r   r   r      s1     #Hhsm" !FHSM  D(3- &Hhsm% ',D&AOXd^A	 (,x}+ )0"& $"*.+/I.34I %I 3-	I
 I smI "$I $C=I4& &r    r   N)dataclassesr   r   typingr   r   r   enumsr	   r
   r   r-   r    r   <module>r1      s2    ( ( ( 0 $O& O& O&r    