SNOW-3152139: Create UDF_init_once decorator in python client (#4269)