Ë
    dQêj>  ã                  ó®   — 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
mZ ddlmZmZmZmZmZ ddl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Ú	StrictStr)ÚAnyÚClassVarÚDictÚListÚOptional)ÚJsonArrowDataType)ÚPartitionTransform)r   ÚSet)ÚSelfc                  ó  — e Zd ZU dZ ed¬«      Zded<    ed¬«      Zded<    ed	d
¬«      Zded<    ed	d¬«      Z	ded<    ed¬«      Z
ded<   g d¢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	)#ÚPartitionFieldz$
    Partition field definition
    z@Unique identifier for this partition field (must not be renamed))Údescriptionr   Úfield_idz,Field IDs of the source fields in the schemazList[StrictInt]Ú
source_idsNzYWell-known partition transform. Exactly one of transform or expression must be specified.)Údefaultr   zOptional[PartitionTransform]Ú	transformzDataFusion SQL expression using col0, col1, ... as column references. Exactly one of transform or expression must be specified.zOptional[StrictStr]Ú
expressionzAThe output type of the partition value (JsonArrowDataType format)r   Úresult_type©r   r   r   r   r   zClassVar[List[str]]Ú_PartitionField__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    úz/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/lance_namespace_urllib3_client/models/partition_field.pyÚto_strzPartitionField.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PartitionField.to_json1   s   € ô �z‰z˜$Ÿ,™,›.Ó)Ð)r*   c                óJ   — | j                  t        j                  |«      «      S )z7Create an instance of PartitionField from a JSON string)Ú	from_dictr,   Úloads)ÚclsÚjson_strs     r(   Ú	from_jsonzPartitionField.from_json6   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r*   c                óè   — t        g «      }| j                  d|d¬«      }| j                  r| j                  j                  «       |d<   | j                  r| 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   r   )Úsetr%   r   r.   r   )r'   Úexcluded_fieldsÚ_dicts      r(   r.   zPartitionField.to_dict;   sx   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð �>Š>Ø!%§¡×!7Ñ!7Ó!9ˆE�+Ñà×ÒØ#'×#3Ñ#3×#;Ñ#;Ó#=ˆE�-Ñ Øˆr*   c           
     óz  — |€yt        |t        «      s| j                  |«      S | j                  |j                  d«      |j                  d«      |j                  d«      �t	        j
                  |d   «      nd|j                  d«      |j                  d«      �t        j
                  |d   «      nddœ«      }|S )z0Create an instance of PartitionField from a dictNr   r   r   r   r   r   )Ú
isinstanceÚdictÚmodel_validateÚgetr   r1   r   )r3   ÚobjÚ_objs      r(   r1   zPartitionField.from_dictU   s³   € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*à×!Ñ!ØŸ™ 
Ó+ØŸ'™' ,Ó/ØKNÏ7É7ÐS^ÓK_ÐKkÔ+×5Ñ5°c¸+Ñ6FÔGÐquØŸ'™' ,Ó/ØNQÏgÉgÐVcÓNdÐNpÔ,×6Ñ6°s¸=Ñ7IÔJÐvzñ#
ó ˆð ˆr*   )ÚreturnÚstr)r4   rD   rC   úOptional[Self])rC   zDict[str, Any])rA   zOptional[Dict[str, Any]]rC   rE   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r   r   r   r   r   Úmodel_configr)   r/   Úclassmethodr5   r.   r1   r   r*   r(   r   r      sÉ   … ññ  Ð,nÔo€HˆiÓoÙ"'Ð4bÔ"c€J�ÓcÙ.3¸Dð  Ojô  /k€IÐ+ó  kÙ&+°Dð  GHô  'I€JÐ#ó  IÙ%*Ð7zÔ%{€KÐ"Ó{Ú(l€LÐ%ÓláØØ Øô€Ló>ó*ð
 ò3ó ð3óð4 òó ñr*   r   )rI   Ú
__future__r   r#   Úrer,   Úpydanticr   r   r   r   r   Útypingr	   r
   r   r   r   Ú:lance_namespace_urllib3_client.models.json_arrow_data_typer   Ú9lance_namespace_urllib3_client.models.partition_transformr   r   Útyping_extensionsr   r   r   r*   r(   ú<module>rT      s>   ðñ	õ #Û Û 	Û ç GÕ Gß 6Õ 6Ý XÝ Xß  Ý "ôJ�Yõ Jr*   