Ë
    dQêju  ã                  óº   — 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	 ddl
mZmZmZmZ ddl
mZmZ ddlmZ  G d„ d	e«      Zdd
lmZ ej-                  d¬«       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)ÚAnyÚClassVarÚDictÚList)ÚOptionalÚSet)ÚSelfc                  óÊ   — e Zd ZU dZ ed¬«      Zded<    e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)ÚBooleanQueryz?
    Boolean query with must, should, and must_not clauses
    zQueries that must match (AND))ÚdescriptionzList[FtsQuery]Úmustz!Queries that must not match (NOT)Úmust_notzQueries that should match (OR)Úshould©r   r   r   zClassVar[List[str]]Ú_BooleanQuery__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    úx/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/lance_namespace_urllib3_client/models/boolean_query.pyÚto_strzBooleanQuery.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BooleanQuery.to_json-   s   € ô �z‰z˜$Ÿ,™,›.Ó)Ð)r#   c                óJ   — | j                  t        j                  |«      «      S )z5Create an instance of BooleanQuery from a JSON string)Ú	from_dictr%   Úloads)ÚclsÚjson_strs     r!   Ú	from_jsonzBooleanQuery.from_json2   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r#   c                óè  — t        g «      }| j                  d|d¬«      }g }| j                  r8| j                  D ]$  }|sŒ|j                  |j	                  «       «       Œ& ||d<   g }| j
                  r8| j
                  D ]$  }|sŒ|j                  |j	                  «       «       Œ& ||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   r   r   )Úsetr   r   Úappendr'   r   r   )r    Úexcluded_fieldsÚ_dictÚ_itemsÚ
_item_mustÚ_item_must_notÚ_item_shoulds          r!   r'   zBooleanQuery.to_dict7   sÿ   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ˆØ�9Š9Ø"Ÿi™iò 8�
ÚØ—M‘M *×"4Ñ"4Ó"6Õ7ð8ð #ˆE�&‰MàˆØ�=Š=Ø"&§-¡-ò <�Ú!Ø—M‘M .×"8Ñ"8Ó":Õ;ð<ð !'ˆE�*ÑàˆØ�;Š;Ø $§¡ò :�ÚØ—M‘M ,×"6Ñ"6Ó"8Õ9ð:ð %ˆE�(‰OØˆr#   c           
     óà  — |€yt        |t        «      s| j                  |«      S | j                  |j                  d«      �&|d   D �cg c]  }t	        j
                  |«      ‘Œ c}nd|j                  d«      �&|d   D �cg c]  }t	        j
                  |«      ‘Œ c}nd|j                  d«      �&|d   D �cg c]  }t	        j
                  |«      ‘Œ c}nddœ«      }|S c c}w c c}w c c}w )z.Create an instance of BooleanQuery from a dictNr   r   r   r   )Ú
isinstanceÚdictÚmodel_validateÚgetÚFtsQueryr*   )r,   ÚobjÚ_itemÚ_objs       r!   r*   zBooleanQuery.from_dict`   sß   € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*à×!Ñ!ØLOÏGÉGÐTZËOÐLg¸CÀ¹KÖH°5”X×'Ñ'¨Õ.ÓHÐmqØTW×T[ÑT[Ð\fÓTgÐTsÀÀJÁÖP°uœ×+Ñ+¨EÕ2ÓPÐy}ØPS×PWÑPWÐX`ÓPaÐPm¸cÀ(¹mÖL°U”x×)Ñ)¨%Õ0ÓLÐswñ#
ó ˆð
 ˆùò	 IùÚPùÚLs   ÁC!Â C&
Â8C+N)ÚreturnÚstr)r-   rD   rC   úOptional[Self])rC   zDict[str, Any])r@   zOptional[Dict[str, Any]]rC   rE   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r   r   r   Úmodel_configr"   r(   Úclassmethodr.   r'   r*   r   r#   r!   r   r      s�   … ññ !Ð-LÔM€Dˆ.ÓMÙ$Ð1TÔU€HˆnÓUÙ"Ð/OÔP€FˆNÓPÚ(F€LÐ%ÓFáØØ Øô€Ló>ó*ð
 ò3ó ð3ó'ðR òó ñr#   r   )r?   F)Úraise_errors)rI   Ú
__future__r   r   Úrer%   Úpydanticr   r   r   Útypingr   r   r	   r
   r   r   Útyping_extensionsr   r   Ú/lance_namespace_urllib3_client.models.fts_queryr?   Úmodel_rebuildr   r#   r!   ú<module>rU      sP   ðñ	õ #Û Û 	Û ç 1Ñ 1ß ,Ó ,ß  Ý "ôU�9ô Uõn Eà × Ñ ¨Ð Õ .r#   