| 494 | } |
| 495 | |
| 496 | Status RegisterVectorFunction(PyObject* function, UdfWrapperCallback cb, |
| 497 | const UdfOptions& options, |
| 498 | compute::FunctionRegistry* registry) { |
| 499 | return RegisterUdf<compute::VectorFunction, compute::VectorKernel>( |
| 500 | function, PythonUdfKernelInit{std::make_shared<OwnedRefNoGIL>(function)}, cb, |
| 501 | options, registry); |
| 502 | } |
| 503 | |
| 504 | Status RegisterTabularFunction(PyObject* function, UdfWrapperCallback cb, |
| 505 | const UdfOptions& options, |
nothing calls this directly
no outgoing calls
no test coverage detected