Skip to content

GH-49198: [Python][Annotations] Flight, CUDA and other modules - #49205

Draft
rok wants to merge 2 commits into
apache:mainfrom
rok:pyarrow-stubs-pr8-leaf-modules
Draft

rok wants to merge 2 commits into
apache:mainfrom
rok:pyarrow-stubs-pr8-leaf-modules

Conversation

@rok

@rok rok commented Feb 9, 2026 •

Copy link
Copy Markdown
Member

Rationale for this change

Closes: #49198

What changes are included in this PR?

Add type annotation stubs for flight, cuda, interchange, gandiva, substrait, pandas_compat, pandas_shim, cffi, compat, and util modules. Includes source fixes and type-ignore annotations in related tests.

Are these changes tested?

Yes, by CI.

Are there any user-facing changes?

Above mentioned ,modules will now be annotated.

Add type annotation stubs for flight, cuda, interchange, gandiva,
substrait, pandas_compat, pandas_shim, cffi, compat, and util modules.
Includes source fixes and type-ignore annotations in related tests.
@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label Feb 9, 2026
@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown

⚠️ GitHub issue #49198 has been automatically assigned in GitHub to PR creator.

@tadeja

tadeja commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Note: Moved also compat.pyi and pandas_shim.pyi to subfolder __lib/ to use the same pattern as in #55264 (comment) ( commits eda3425 + fd19ff4 )

Future note: ‎python/pyarrow-stubs/pyarrow/lib.pyi‎ will need these two added as well:

from pyarrow.__lib.compat import *  # noqa: F401,F403
from pyarrow.__lib.pandas_shim import *  # noqa: F401,F403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Python][Annotations] Flight, CUDA and other modules

2 participants