GitHub user dangotbanned added a comment to the discussion: A new home for 
pyarrow-stubs?

> They are available from IPython, why would they not be available from IDEs?

> The question is, why would users need docstrings in stubs if the stubs are 
> shipped with PyArrow itself?

@pitrou the issue is you need an `IPython` kernel running to see most `pyarrow` 
docstrings.

So any packages downstream from `pyarrow` that wants static typing either needs 
to: 
- develop in an dynamic environment 
- or do a lot of context switching to refer to [api 
docs](https://arrow.apache.org/docs/python/api.html)

In [`narwhals`](https://github.com/narwhals-dev/narwhals), we haven't updated 
to the `pyarrow-stubs` version that has them yet - so we currently see this in 
an IDE

<img width="900" alt="image" 
src="https://github.com/user-attachments/assets/c66701e1-60fe-42fe-bcf7-6d41aab0508c";
 />


GitHub link: 
https://github.com/apache/arrow/discussions/45919#discussioncomment-14275856

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to