Skip to content

[Python][Docs] Document file path support for IPC reader source - #48534

Closed
krupakargurije wants to merge 1 commit into
apache:mainfrom
krupakargurije:main
Closed

krupakargurije wants to merge 1 commit into
apache:mainfrom
krupakargurije:main

Conversation

@krupakargurije

Copy link
Copy Markdown

What changed

Document that IPC reader APIs accept a file path for the source parameter,
consistent with existing writer documentation.

Affected APIs

  • pyarrow.ipc.open_file
  • pyarrow.ipc.open_stream
  • pyarrow.ipc.RecordBatchFileReader
  • pyarrow.ipc.RecordBatchStreamReader

Why

These APIs already accept file paths, but this behavior was undocumented.
This PR aligns the reader documentation with actual behavior and with
the corresponding writer APIs.

Fixes #46927

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@ianmcook

Copy link
Copy Markdown
Member

Hi @krupakargurije, thanks for the PR. Could you please fix the linting errors caused by too-long lines? See https://arrow.apache.org/docs/developers/python/development.html#coding-style.

@ianmcook

Copy link
Copy Markdown
Member

Superseded by #55322

@ianmcook ianmcook closed this Nov 30, 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.

[Docs][Python] Document that source parameter to IPC readers can be a file path

3 participants