pitrou commented on a change in pull request #11918:
URL: https://github.com/apache/arrow/pull/11918#discussion_r786930768
##########
File path: python/pyarrow/_compute.pyx
##########
@@ -2020,17 +2025,22 @@ cdef class Expression(_Weakrefable):
return (<Expression> Expression._scalar(expr))
@staticmethod
- cdef Expression _call(str function_name, list arguments,
- shared_ptr[CFunctionOptions] options=(
- <shared_ptr[CFunctionOptions]> nullptr)):
+ def _call(str function_name, list arguments, FunctionOptions options=None):
cdef:
vector[CExpression] c_arguments
+ shared_ptr[CFunctionOptions] c_options=(
+ <shared_ptr[CFunctionOptions]> nullptr)
Review comment:
You don't need to explicitly initialize this, do you?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]