Skip to content

GH-49194: [Python][Annotations] Compute module#49201

Draft
rok wants to merge 1 commit into
apache:mainfrom
rok:pyarrow-stubs-pr4-compute
Draft

GH-49194: [Python][Annotations] Compute module#49201
rok wants to merge 1 commit into
apache:mainfrom
rok:pyarrow-stubs-pr4-compute

Conversation

@rok
Copy link
Copy Markdown
Member

@rok rok commented Feb 9, 2026

Rationale for this change

Closes: #49194

What changes are included in this PR?

Adds type annotation stubs for compute, _compute, _compute_docstring, and _acero modules. Includes source fixes in compute.py and acero.py, and type-ignore annotations in related tests.

Are these changes tested?

Yes, by CI.

Are there any user-facing changes?

Compute module functions will be type annotated.

Add type annotation stubs for compute, _compute, _compute_docstring,
and _acero modules. Includes source fixes in compute.py and acero.py,
and type-ignore annotations in related tests.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 9, 2026

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



filter = array_filter
take = array_take
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: redefine take rather than alias to exclude Expression

@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Feb 9, 2026
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] Compute module

1 participant