
    ˀh                    H    d dl mZ d dlmZmZ erd dlmZ 	 	 	 	 	 	 	 	 ddZy)    )annotations)TYPE_CHECKINGAny)	DataFramec                     | |g| 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.
     )functionwith_columnsargss      n/var/www/html/wine-match-dev/backend/winematch-backend/venv/lib/python3.12/site-packages/polars/_utils/scan.py_execute_from_rustr   	   s    $ L(4((    N)r	   r   r
   zlist[str] | Noner   r   returnr   )
__future__r   typingr   r   polarsr   r   r   r   r   <module>r      s6    " % ))!1):=))r   