tadeja commented on code in PR #55264:
URL: https://github.com/apache/arrow/pull/55264#discussion_r4565150224


##########
python/pyarrow-stubs-tests/test_array.py:
##########
@@ -23,13 +23,13 @@
 
 import pyarrow as pa
 from pyarrow._compute import CastOptions
+from pyarrow.lib import asarray

Review Comment:
   asarray isn’t exported in 
   
https://github.com/apache/arrow/blob/48e4abf56db619893a372cee998f8e5f3a5a3871/python/pyarrow/__init__.py#L204,
 it doesn't exist at runtime.
   Per old PR 
https://github.com/apache/arrow/pull/48117#issuecomment-3551110164 that was 
intentional to keep it non-public? (fyi @AlenkaF ) :) 
   So `pyarrow.lib` is the only place to import it from.



-- 
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]

Reply via email to