You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ForeverAngry (via GitHub)" <gi...@apache.org> on 2024/05/20 14:52:15 UTC

[I] Language server unable to lint or analyze any classes imported by the `pyarrow.lib ` commands, in the `__init__.py` [arrow]

ForeverAngry opened a new issue, #41736:
URL: https://github.com/apache/arrow/issues/41736

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   When using pyarrow classes `Table`, `CompressedInputStream`, `BufferReader`, and `json`, i can run the code, but for some reason my language server (and I've tried jedi, and pylance) cannot find/lint/or analyze any of these function or classes, or really anything imported by the `pyarrow.lib `, in the `__init__.py` file for the pyarrow directory.  Is this expected?
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Language server unable to lint or analyze any classes imported by the `pyarrow.lib ` commands, in the `__init__.py` [arrow]

Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF closed issue #41736: Language server unable to lint or analyze any classes imported by the `pyarrow.lib ` commands, in the `__init__.py`
URL: https://github.com/apache/arrow/issues/41736


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Language server unable to lint or analyze any classes imported by the `pyarrow.lib ` commands, in the `__init__.py` [arrow]

Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF commented on issue #41736:
URL: https://github.com/apache/arrow/issues/41736#issuecomment-6337242245

   Yes, I think this issue can be closed and the progress of type hints work tracked in https://github.com/apache/arrow/issues/32609.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Language server unable to lint or analyze any classes imported by the `pyarrow.lib ` commands, in the `__init__.py` [arrow]

Posted by "AntBlo (via GitHub)" <gi...@apache.org>.
AntBlo commented on issue #41736:
URL: https://github.com/apache/arrow/issues/41736#issuecomment-2153166074

   According to a developer over at LanceDB, imported Cython code doesn't have type hints. So I think this is expected. 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Language server unable to lint or analyze any classes imported by the `pyarrow.lib ` commands, in the `__init__.py` [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #41736:
URL: https://github.com/apache/arrow/issues/41736#issuecomment-6335375483

   @AlenkaF I'm going through old `Type: bug` issues. This is the language server not resolving anything exported from the Cython `pyarrow.lib`, which is the missing-type-stubs problem tracked in #32609, and there is no separate work to do here. OK to close as a duplicate of #32609?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Language server unable to lint or analyze any classes imported by the `pyarrow.lib ` commands, in the `__init__.py` [arrow]

Posted by "AntBlo (via GitHub)" <gi...@apache.org>.
AntBlo commented on issue #41736:
URL: https://github.com/apache/arrow/issues/41736#issuecomment-3051782617

   > According to a developer over at LanceDB, imported Cython code doesn't have type hints. So I think this is expected.
   > 
   > If there are any ongoing efforts to add type hints to pyarrow.lib though, I'd like to subscribe to it and perhaps help out if possible.
   
   Just a heads-up, I did find out there are stubs for pyarrow, but I don't think they're official or anything, so be careful as always depending on things: https://github.com/zen-xu/pyarrow-stubs


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org