/* syntax version 1 */ /* postgres can not */ $script = @@ def f(x, y): """ (Int32, Int32) ->Int32 a simple sum UDF """ return x + y @@; --$f = Python::f(EvaluateType(ParseTypeHandle(Core::PythonFuncSignature(AsAtom("Python"), $script, "f"))), $script); $f = Python::f($script); select $f(1, 2);