rmnskb commented on PR #48085: URL: https://github.com/apache/arrow/pull/48085#issuecomment-3529746970
> We might be able to add docstrings via type annotations. Or perhaps it's possible to copy them at runtime from the respective kernels? (unsure that is possible). In any case we probably don't want to duplicate docstrings in general. I've looked more into this, and based on [these](https://stackoverflow.com/a/68901244) [two](https://softwareengineering.stackexchange.com/a/386758) discussions, we'd have to copy them directly from the underlying functions at runtime via importing the `pyarrow.compute` module, which AFAIK we don't have access to, since we call them with `_pc().call_function()`. I've added the docstrings to respective classes which notes that the API now support calling the Python-native operators directly, as well as provides some examples of that. Please let me know if that's sufficient. -- 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]
