Skip to content

Conversation

@ashmi8
Copy link

@ashmi8 ashmi8 commented Jan 19, 2026

\This PR replaces list type hints with Sequence in from_parquet to improve type checking.

Note: Local pytest errors on Python 3.13 due to removal of distutils are unrelated to this change.

ashmi8 and others added 4 commits January 19, 2026 20:56
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 19, 2026 20:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the type hints for the from_parquet method to use Sequence instead of list, which is a more flexible and appropriate type for function parameters that accept multiple values.

Changes:

  • Added Sequence import from typing module
  • Updated path_or_paths parameter type from list[PathLike] to Sequence[PathLike]
  • Updated columns parameter type from Optional[list[str]] to Optional[Sequence[str]]

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant