YjddlZdejdejfdejdejffdZy)Nfunc.returnc&ddl}ddlm}|j|j|j |j |j|j}ddl }i}||}|jD]}|jj||<||_ |S)zDecorate a function with annotated function parameters. This allows DuckDB to infer that the function should be provided with pyarrow arrays and should expect pyarrow array(s) as output. rN) signature)typesinspectr FunctionType__code__ __globals____name__ __defaults__ __closure__pyarrow parameterslib ChunkedArray__annotations__)rrrnew_funcpanew_annotationssigparams ^/mnt/ssd/data/Dropbox/adrian/tools/powerbricks/venv/lib/python3.12/site-packages/duckdb/udf.py vectorizedrs !!!$--1A1A4==RVRcRceieueuvHO D/C5!#!4!45 /H O)typingCallableAnyrrrr s= V__S&**_5&//#vzz/:Zr