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


##########
python/pyarrow-stubs/__init__.pyi:
##########
@@ -225,6 +275,9 @@ from pyarrow.lib import (
 
 from pyarrow import types as types
 
+# pyarrow/__init__.py imports pyarrow.lib._NULL as NULL
+NULL: NullScalar

Review Comment:
   Seems stubs don't take this as re-export because names differ '_NULL' versus 
'NULL'.  So type checking fails,
   e.g. mypy `pyarrow-stubs-tests/test_scalar.py:63: error: Module "pyarrow" 
does not explicitly export attribute "NULL"  [attr-defined]`
   I'd keep it as is.



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