§
    Ò¬¸jm  ã                  ó`   — d dl mZ d dlmZ d dlmZ erd dlmZ d dlm	Z	  G d„ d¦  «        Z
dS )	é    )Úannotations)ÚTYPE_CHECKING)Úwrap_df)Ú	DataFrame)ÚPyInProcessQueryc                  ó2   — e Zd ZdZdd„Zdd„Zdd	„Zdd„ZdS )ÚInProcessQueryzß
    A placeholder for an in process query.

    This can be used to do something else while a query is running.
    The queries can be cancelled. You can peek if the query is finished,
    or you can await the result.
    Úipqr   ÚreturnÚNonec                ó   — || _         d S )N)Ú_inner)Úselfr
   s     úk/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/polars/lazyframe/in_process.pyÚ__init__zInProcessQuery.__init__   s   € ØˆŒˆˆó    c                ó8   — | j                              ¦   «          dS )z)Cancel the query at earliest convenience.N)r   Úcancel©r   s    r   r   zInProcessQuery.cancel   s   € àŒ×ÒÑÔÐÐÐr   úDataFrame | Nonec                óZ   — | j                              ¦   «         x}�t          |¦  «        S dS )z”
        Fetch the result.

        If it is ready, a materialized DataFrame is returned.
        If it is not ready it will return `None`.
        N)r   Úfetchr   )r   Úouts     r   r   zInProcessQuery.fetch   s.   € ð ”;×$Ò$Ñ&Ô&Ð&ˆCÐ3Ý˜3‘<”<Ðà�4r   r   c                óN   — t          | j                             ¦   «         ¦  «        S )zAwait the result synchronously.)r   r   Úfetch_blockingr   s    r   r   zInProcessQuery.fetch_blocking(   s   € å�t”{×1Ò1Ñ3Ô3Ñ4Ô4Ð4r   N)r
   r   r   r   )r   r   )r   r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   © r   r   r	   r	      sn   € € € € € ðð ðð ð ð ðð ð ð ð
ð 
ð 
ð 
ð5ð 5ð 5ð 5ð 5ð 5r   r	   N)Ú
__future__r   Útypingr   Úpolars._utils.wrapr   Úpolarsr   Úpolars._plrr   r	   r    r   r   ú<module>r&      s™   ðØ "Ð "Ð "Ð "Ð "Ð "à  Ð  Ð  Ð  Ð  Ð  à &Ð &Ð &Ð &Ð &Ð &àð -Ø Ð Ð Ð Ð Ð Ø,Ð,Ð,Ð,Ð,Ð,ð5ð 5ð 5ð 5ð 5ñ 5ô 5ð 5ð 5ð 5r   