+
    NV-jý  ã                   ó’   € ^ RI t^ RIt^ RIHtHt ^ RIHt  ! R R]4      t ! R R4      t	]P                  ! R]	.R7      R	 4       tR# )
é    N)Ú	DataFrameÚSeries)ÚBaseExecutionEnginec                   ó0   a € ] tR t^t o RtR tR tRtV tR# )ÚMockExecutionEnginea·  
Execution Engine to test if the execution engine interface receives and
uses all parameters provided by the user.

Making this engine work as the default Python engine by calling it, no extra
functionality is implemented here.

When testing, this will be called when this engine is provided, and then the
same pandas.map and pandas.apply function will be called, but without engine,
executing the default behavior from the python engine.
c                ót   € \        V \        4      '       d   TM/ pV P                  ! V3R V'       d   RMR/VB # )Ú	na_actionÚignoreN)Ú
isinstancer   Úmap)ÚdataÚfuncÚargsÚkwargsÚ	decoratorÚskip_naÚkwargs_to_passs   &&&&&& Úl/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pandas/tests/apply/conftest.pyr   ÚMockExecutionEngine.map   s2   € Ü#-¨d´I×#>Ò#>™ÀBˆØ�xŠx˜ÑX·G©ÀÐXÈÑXÐXó    c                óJ  € \        V \        4      '       d   V P                  VR VRR7      # \        V \        4      '       d   V P                  ! V3RVRRRRRVRR	/VB # \        V \        P
                  4      '       g   Q hR
 p\        P                  ! V! V4      WP.VO5/ VB # )TF)Úconvert_dtyper   Úby_rowÚaxisÚrawÚresult_typeNr   r   Úcompatc                 ó   a € V 3R  lpV# )c                  ó|   <€ S! V / VB p\        V\        4      '       d   \        P                  ! V\        R 7      pV# ))Údtype)r   ÚstrÚnpÚarrayÚobject)r   r   Úresultr   s   *, €r   ÚwrapperÚAMockExecutionEngine.apply.<locals>.wrap_function.<locals>.wrapper.   s4   ø€ Ù! 4Ð2¨6Ñ2�FÜ! &¬#×.Ò.Ü!#§¢¨&¼Ô!?˜Ø!�Mr   © )r   r&   s   f r   Úwrap_functionÚ0MockExecutionEngine.apply.<locals>.wrap_function,   s   ø€ õ"ð �r   )r   r   Úapplyr   r"   ÚndarrayÚapply_along_axis)r   r   r   r   r   r   r)   s   &&&&&& r   r+   ÚMockExecutionEngine.apply   sÄ   € Ü�dœF×#Ò#Ø—:‘:˜d°$¸TÈ%�:ÓPÐPÜ˜œi×(Ò(Ø—:’:Øñàðð ðð !ð	ð
 ðð  ðð ñð ô ˜d¤B§J¡J×/Ò/Ð/Ð/òô ×&Ò&¡}°TÓ':¸DÐXÈÒXÐQWÑXÐXr   r(   N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r+   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s   ø‡ € ñ
òY÷Yð Yr   r   c                   ó   € ] tR t^9t]tRtR# )ÚMockEngineDecoratorr(   N)r/   r0   r1   r2   r   Ú__pandas_udf__r4   r(   r   r   r8   r8   9   s   † Ø(„Nr   r8   )Úparamsc                 ó   € V P                   # )N)Úparam)Úrequests   &r   Úenginer>   =   s   € à�=‰=Ðr   )Únumpyr"   ÚpytestÚpandasr   r   Úpandas.api.executorsr   r   r8   Úfixturer>   r(   r   r   Ú<module>rD      sR   ðÛ Û ÷õ 5ô+YÐ-ô +Y÷\)ñ )ð ‡‚˜Ð1Ð2Ô3ñó 4òr   