o
    ¹­§i†  ã                   @  s:   d dl mZ d dlmZmZ erd dlmZ ddd„ZdS )é    )Úannotations)ÚTYPE_CHECKINGÚAny)Ú	DataFrameÚfunctionr   Úwith_columnsúlist[str] | NoneÚargsÚreturnr   c                 G  s   | |g|¢R Ž S )al  
    Deserialize and execute the given function for the projected columns.

    Called from polars-lazy. Polars-lazy provides the bytes of the pickled function and
    the projected columns.

    Parameters
    ----------
    function
        function object
    with_columns
        Columns that are projected
    *args
        Additional function arguments.
    © )r   r   r	   r   r   úI/home/app/Keep/.python/lib/python3.10/site-packages/polars/_utils/scan.pyÚ_execute_from_rust	   s   r   N)r   r   r   r   r	   r   r
   r   )Ú
__future__r   Útypingr   r   Zpolarsr   r   r   r   r   r   Ú<module>   s
    