Skip to content

Conversation

@bjornjorgensen
Copy link
Contributor

@bjornjorgensen bjornjorgensen commented Apr 27, 2022

What changes were proposed in this pull request?

Remove unneeded pass

Why are the changes needed?

Class`s Estimator, Transformer and Evaluator are abstract classes. Which has functions.

ValueError in def run() has code.

By removing pass it will be easier to read, understand and reuse code.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests passed.

@bjornjorgensen bjornjorgensen changed the title [SPARK-39049][PYTHON]Remove unneeded pass [SPARK-39049][PYTHON][CORE][ML] Remove unneeded pass Apr 27, 2022
@HyukjinKwon
Copy link
Member

Merged to master and branch-3.3.

HyukjinKwon pushed a commit that referenced this pull request Apr 28, 2022
### What changes were proposed in this pull request?
Remove unneeded `pass`

### Why are the changes needed?
Class`s Estimator, Transformer and Evaluator are abstract classes. Which has functions.

ValueError in def run() has code.

By removing `pass` it will be easier to read, understand and reuse code.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Existing tests passed.

Closes #36383 from bjornjorgensen/remove-unneeded-pass.

Lead-authored-by: Bjørn Jørgensen <[email protected]>
Co-authored-by: bjornjorgensen <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit 0e87587)
Signed-off-by: Hyukjin Kwon <[email protected]>
@bjornjorgensen bjornjorgensen deleted the remove-unneeded-pass branch August 5, 2022 16:48
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.

2 participants