Ë
    dQêjd  ã                  óš   — d Z ddlmZ ddlZddlZddlZddlmZmZm	Z	m
Z
 ddlmZmZmZmZ ddlmZ ddlmZmZ ddlmZ  G d	„ d
e«      Zy)a'  
    Lance Namespace Specification

    This OpenAPI specification is a part of the Lance namespace specification. It contains 2 parts:  The `components/schemas`, `components/responses`, `components/examples`, `tags` sections define the request and response shape for each operation in a Lance Namespace across all implementations. See https://lance.org/format/namespace/operations for more details.  The `servers`, `security`, `paths`, `components/parameters` sections are for the Lance REST Namespace implementation, which defines a complete REST server that can work with Lance datasets. See https://lance.org/format/namespace/rest for more details. 

    The version of the OpenAPI document: 1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
é    )ÚannotationsN)Ú	BaseModelÚ
ConfigDictÚFieldÚ	StrictInt)ÚAnyÚClassVarÚDictÚList)ÚPartitionField)ÚOptionalÚSet)ÚSelfc                  ó®   — e Zd ZU dZ ed¬«      Zded<    ed¬«      Zded<   ddgZd	ed
<    e	ddd¬«      Z
dd„Zdd„Zedd„«       Zdd„Zedd„«       Zy)ÚPartitionSpecz#
    Partition spec definition
    zThe spec version ID)Údescriptionr   Úidz$Array of partition field definitionszList[PartitionField]ÚfieldszClassVar[List[str]]Ú_PartitionSpec__propertiesT© )Úpopulate_by_nameÚvalidate_assignmentÚprotected_namespacesc                óL   — t        j                  | j                  d¬«      «      S )z:Returns the string representation of the model using aliasT)Úby_alias)ÚpprintÚpformatÚ
model_dump©Úselfs    úy/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/lance_namespace_urllib3_client/models/partition_spec.pyÚto_strzPartitionSpec.to_str)   s   € ä�~‰~˜dŸo™o°t˜oÓ<Ó=Ð=ó    c                óH   — t        j                  | j                  «       «      S )z8Returns the JSON representation of the model using alias)ÚjsonÚdumpsÚto_dictr   s    r!   Úto_jsonzPartitionSpec.to_json-   s   € ô �z‰z˜$Ÿ,™,›.Ó)Ð)r#   c                óJ   — | j                  t        j                  |«      «      S )z6Create an instance of PartitionSpec from a JSON string)Ú	from_dictr%   Úloads)ÚclsÚjson_strs     r!   Ú	from_jsonzPartitionSpec.from_json2   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r#   c                óÐ   — t        g «      }| j                  d|d¬«      }g }| j                  r8| j                  D ]$  }|sŒ|j                  |j	                  «       «       Œ& ||d<   |S )ac  Return the dictionary representation of the model using alias.

        This has the following differences from calling pydantic's
        `self.model_dump(by_alias=True)`:

        * `None` is only added to the output dict for nullable fields that
          were set at model initialization. Other fields with value `None`
          are ignored.
        T)r   ÚexcludeÚexclude_noner   )Úsetr   r   Úappendr'   )r    Úexcluded_fieldsÚ_dictÚ_itemsÚ_item_fieldss        r!   r'   zPartitionSpec.to_dict7   sz   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ˆØ�;Š;Ø $§¡ò :�ÚØ—M‘M ,×"6Ñ"6Ó"8Õ9ð:ð %ˆE�(‰OØˆr#   c           	     ó  — |€yt        |t        «      s| j                  |«      S | j                  |j                  d«      |j                  d«      �&|d   D �cg c]  }t	        j
                  |«      ‘Œ c}nddœ«      }|S c c}w )z/Create an instance of PartitionSpec from a dictNr   r   )r   r   )Ú
isinstanceÚdictÚmodel_validateÚgetr   r*   )r,   ÚobjÚ_itemÚ_objs       r!   r*   zPartitionSpec.from_dictR   s…   € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*à×!Ñ!Ø—'‘'˜$“-ØVY×V]ÑV]Ð^fÓVgÐVsÀCÈÁMÖR¸5”~×/Ñ/°Õ6ÓRÐy}ñ#
ó ˆð ˆùò Ss   ÁB
N)ÚreturnÚstr)r-   rA   r@   úOptional[Self])r@   zDict[str, Any])r=   zOptional[Dict[str, Any]]r@   rB   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r   r   Úmodel_configr"   r(   Úclassmethodr.   r'   r*   r   r#   r!   r   r      s„   … ññ Ð&;Ô<€Bˆ	Ó<Ù#(Ð5[Ô#\€FÐ Ó\Ø)-¨xÐ(8€LÐ%Ó8áØØ Øô€Ló>ó*ð
 ò3ó ð3óð6 òó ñr#   r   )rF   Ú
__future__r   r   Úrer%   Úpydanticr   r   r   r   Útypingr   r	   r
   r   Ú5lance_namespace_urllib3_client.models.partition_fieldr   r   r   Útyping_extensionsr   r   r   r#   r!   ú<module>rP      s;   ðñ	õ #Û Û 	Û ç <Ó <ß ,Ó ,Ý Pß  Ý "ôE�Iõ Er#   