Skip to content

Commit

Permalink
[SPARK-37430][PYTHON][MLLIB] Inline hints for pyspark.mllib.linalg.di…
Browse files Browse the repository at this point in the history
…stributed

### What changes were proposed in this pull request?

Inline type hints for pyspark.mllib.linalg.distributed

### Why are the changes needed?

We can take advantage of static type checking within the functions by inlining the type hints.

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

No.
### How was this patch tested?

Existing tests.

Closes apache#35739 from hi-zir/SPARK-37430.

Authored-by: hi-zir <[email protected]>
Signed-off-by: zero323 <[email protected]>
  • Loading branch information
hi-zir authored and zero323 committed Mar 12, 2022
1 parent a511ca1 commit c032928
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 214 deletions.
Loading

0 comments on commit c032928

Please sign in to comment.