GitHub user rok edited a comment on the discussion: A new home for 
pyarrow-stubs?

> I wonder if the overloads can be generated instead of written out and 
> maintained manually.

I'm sure that's possible but it would probably require the generator to wither 
understand the C++ layer or empirically explore the API by mapping input and 
output types. The latter seems doable and if we then group to type unions (e.g. 
IntArray and FloatArray to NumericArray) it might not be too bad. I'll take a 
quick look.

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

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

Reply via email to