AlenkaF commented on PR #55264: URL: https://github.com/apache/arrow/pull/55264#issuecomment-6444377361
> > Part of these are also Type_* stubs, for example pyarrow.lib.Type_UINT8. As we already have TypesEnum defined here, might it make sense to also include Type_* stubs now? (I am not inclined towards adding them, just wondering). > > Huh. I've never noticed these were missing. Given we're not really using them as types I'd skip them if we can. Yeah, they are internal and exposed through `TypesEnum` which are added to the stubs here. For stubtest we can later add them to allowlist. For the type checkers we will need to work around them once `lib` stubs loose their `def __getattr__(name: str) -> Any: ...`. Maybe we can revisit this topic later (maybe we see it's easier to simply add them to the 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
