Skip to content

[WIP][SPARK-55805] fixed ignore type override for linter in _SimpleStreamReaderWrapper#54791

Open
sreeraj234 wants to merge 2 commits intoapache:masterfrom
sreeraj234:fix_type_error
Open

[WIP][SPARK-55805] fixed ignore type override for linter in _SimpleStreamReaderWrapper#54791
sreeraj234 wants to merge 2 commits intoapache:masterfrom
sreeraj234:fix_type_error

Conversation

@sreeraj234
Copy link

What changes were proposed in this pull request?

fixed ignore type override for linter in _SimpleStreamReaderWrapper. Made the function signature match the parent class.

Why are the changes needed?

We have some ignores that are not necessary for data source writers.

Does this PR introduce any user-facing change?

No

How was this patch tested?

CI

Was this patch authored or co-authored using generative AI tooling?

No

Copilot AI review requested due to automatic review settings March 13, 2026 22:52
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 fixes a type override lint suppression in _SimpleStreamReaderWrapper.read() by renaming the parameter from input_partition to partition to match the parent class DataSourceStreamReader.read() signature.

Changes:

  • Renamed input_partition parameter to partition in _SimpleStreamReaderWrapper.read() to match parent class, removing the # type: ignore[override] comment.

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

You can also share your feedback on Copilot code review. Take the survey.

@holdenk holdenk marked this pull request as draft March 13, 2026 23:08
@sreeraj234 sreeraj234 marked this pull request as ready for review March 13, 2026 23:13
@sreeraj234 sreeraj234 marked this pull request as draft March 13, 2026 23:30
@sreeraj234 sreeraj234 marked this pull request as ready for review March 13, 2026 23:30
@sreeraj234 sreeraj234 force-pushed the fix_type_error branch 2 times, most recently from c1f4a16 to 27cf09d Compare March 14, 2026 02:51
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.

2 participants