Ë
    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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j3                  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ÚStrictFloatÚ	StrictInt)ÚAnyÚClassVarÚDictÚListÚOptionalÚUnion)r   ÚSet)ÚSelfc                  ó¨   — e Zd ZU dZded<   ded<    ed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)Ú
BoostQueryzc
    Boost query that scores documents matching positive query higher and negative query lower
    ÚFtsQueryÚpositiveÚnegativeç      à?z.Boost factor for negative query (default: 0.5))ÚdefaultÚdescriptionz'Optional[Union[StrictFloat, StrictInt]]Únegative_boost©r   r   r   zClassVar[List[str]]Ú_BoostQuery__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    úv/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/lance_namespace_urllib3_client/models/boost_query.pyÚto_strzBoostQuery.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BoostQuery.to_json-   s   € ô �z‰z˜$Ÿ,™,›.Ó)Ð)r)   c                óJ   — | j                  t        j                  |«      «      S )z3Create an instance of BoostQuery from a JSON string)Ú	from_dictr+   Úloads)ÚclsÚjson_strs     r'   Ú	from_jsonzBoostQuery.from_json2   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BoostQuery.to_dict7   st   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð �=Š=Ø $§¡× 5Ñ 5Ó 7ˆE�*Ñà�=Š=Ø $§¡× 5Ñ 5Ó 7ˆE�*ÑØˆr)   c                ó`  — |€yt        |t        «      s| j                  |«      S | j                  |j                  d«      �t	        j
                  |d   «      nd|j                  d«      �t	        j
                  |d   «      nd|j                  d«      �|j                  d«      nddœ«      }|S )z,Create an instance of BoostQuery from a dictNr   r   r   r   r   )Ú
isinstanceÚdictÚmodel_validateÚgetr   r0   )r2   ÚobjÚ_objs      r'   r0   zBoostQuery.from_dictQ   s¨   € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*à×!Ñ!Ø?B¿w¹wÀzÓ?RÐ?^œ×*Ñ*¨3¨z©?Ô;ÐdhØ?B¿w¹wÀzÓ?RÐ?^œ×*Ñ*¨3¨z©?Ô;ÐdhØ;>¿7¹7ÐCSÓ;TÐ;`˜cŸg™gÐ&6Ô7Ðfiñ#
ó ˆð
 ˆr)   N)ÚreturnÚstr)r3   rC   rB   úOptional[Self])rB   zDict[str, Any])r@   zOptional[Dict[str, Any]]rB   rD   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   r   r   r   Úmodel_configr(   r.   Úclassmethodr4   r-   r0   r   r)   r'   r   r      s‡   … ñð ÓØÓÙ>CÈCð  ^Nô  ?O€NÐ;ó  OÚ(R€LÐ%ÓRáØØ Øô€Ló>ó*ð
 ò3ó ð3óð4 òó ñr)   r   )r   F)Úraise_errors)rH   Ú
__future__r   r"   Úrer+   Úpydanticr   r   r   r   r   Útypingr	   r
   r   r   r   r   r   Útyping_extensionsr   r   Ú/lance_namespace_urllib3_client.models.fts_queryr   Úmodel_rebuildr   r)   r'   ú<module>rT      sP   ðñ	õ #Û Û 	Û ç IÕ Iß =× =ß  Ý "ôF�ô FõP Eà 
× Ñ  eÐ Õ ,r)   