§
    Ò¬¸j
  ã                  óˆ   — d dl mZ d dlmZmZmZ erd dlmZ d dlm	Z	 e G d„ de¦  «        ¦   «         Z
 G d„ d¦  «        Zd	S )
é    )Úannotations)ÚTYPE_CHECKINGÚProtocolÚruntime_checkable)Ú	DataFrame)Ú	LazyFramec                  óJ   — e Zd ZdZed
d„¦   «         Zedd„¦   «         Zdd„Zd	S )ÚQueryResultá  The result of a Polars query.

    .. note::
     This object should not be instantiated directly by the user.

    .. warning::
        This functionality is considered **unstable**. It may be changed
        at any point without it being considered a breaking change.
    ÚreturnúDataFrame | Nonec                ó   — dS )úThe first n rows of the result.N© ©Úselfs    úm/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/polars/lazyframe/query_result.pyÚheadzQueryResult.head   ó	   € ð 	ˆó    ú
int | Nonec                ó   — dS )ú,Total rows that are outputted by the result.Nr   r   s    r   Ún_rows_totalzQueryResult.n_rows_total   r   r   r   c                ó   — dS )ú-Convert the `QueryResult` into a `LazyFrame`.Nr   r   s    r   ÚlazyzQueryResult.lazy    s   € àˆr   N©r   r   ©r   r   ©r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   r   r   r   r   r   r
   r
   
   sr   € € € € € ðð ð ðð ð ñ „Xðð ðð ð ñ „Xððð ð ð ð ð r   r
   c                  ób   — e Zd ZdZdd„Zedd„¦   «         Zedd
„¦   «         Zdd„Zdd„Z	dd„Z
dS )ÚSingleNodeQueryResultr   Údfr   r   ÚNonec                ó   — || _         d S )N)Ú_df)r   r(   s     r   Ú__init__zSingleNodeQueryResult.__init__0   s   € ØˆŒˆˆr   r   c                ó4   — | j                              ¦   «         S )r   )r+   r   r   s    r   r   zSingleNodeQueryResult.head3   s   € ð Œx�}Š}‰ŒÐr   r   c                ó   — | j         j        S )r   )r+   Úheightr   s    r   r   z"SingleNodeQueryResult.n_rows_total8   s   € ð ŒxŒÐr   r   c                ó4   — | j                              ¦   «         S )r   )r+   r   r   s    r   r   zSingleNodeQueryResult.lazy=   s   € àŒx�}Š}‰ŒÐr   Ústrc                ó€   — dd l }|                     d¬¦  «        5  d| j        › d�cd d d ¦  «         S # 1 swxY w Y   d S )Nr   T©Útbl_hide_dataframe_shapez(
        QueryResult; head:
            z	
        )ÚpolarsÚConfigr   )r   Úpls     r   Ú__repr__zSingleNodeQueryResult.__repr__A   sŸ   € ØÐÐÐà�YŠY°ˆYÑ5Ô5ð 	ð 	ðàŒYðð ð ð	ð 	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	ð 	ð 	s   ›3³7º7c                óÔ   — ddl }|                     d¬¦  «        5  | j                             ¦   «                              ¦   «         }ddd¦  «         n# 1 swxY w Y   d|› d�}d|› d�S )	z<Format output data in HTML for display in Jupyter Notebooks.r   NTr3   zÉ
        <div style="margin-bottom: 16px;">
            <h3 style="margin: 0 0 8px 0; color: #333; font-family: sans-serif; font-size: 14px; font-weight: 600;">QueryResult; head:</h3>
            <div>z</div>
        </div>
        zq
        <div style="padding: 12px; border: 1px solid #ddd; border-radius: 4px; background: white;">
            z
        </div>
        )r5   r6   r+   r   Ú_repr_html_)r   r7   Ú	head_htmlÚhead_sections       r   r:   z!SingleNodeQueryResult._repr_html_J   sÉ   € àÐÐÐà�YŠY°ˆYÑ5Ô5ð 	6ð 	6ØœŸš™œ×3Ò3Ñ5Ô5ˆIð	6ð 	6ð 	6ñ 	6ô 	6ð 	6ð 	6ð 	6ð 	6ð 	6ð 	6øøøð 	6ð 	6ð 	6ð 	6ðð ðð ð ˆðàðð ð ð 	s   ›,AÁAÁAN)r(   r   r   r)   r   r   r    )r   r1   )r!   r"   r#   r$   r,   r%   r   r   r   r8   r:   r   r   r   r'   r'   %   s®   € € € € € ðð ðð ð ð ð ðð ð ñ „Xðð ðð ð ñ „Xððð ð ð ðð ð ð ðð ð ð ð ð r   r'   N)Ú
__future__r   Útypingr   r   r   Úpolars.dataframer   Úpolars.lazyframer   r
   r'   r   r   r   ú<module>rA      sÊ   ðØ "Ð "Ð "Ð "Ð "Ð "à =Ð =Ð =Ð =Ð =Ð =Ð =Ð =Ð =Ð =àð +Ø*Ð*Ð*Ð*Ð*Ð*Ø*Ð*Ð*Ð*Ð*Ð*ð ðð ð ð ð �(ñ ô ñ Ôðð47ð 7ð 7ð 7ð 7ñ 7ô 7ð 7ð 7ð 7r   