Skip to content

Commit

Permalink
Type ignore Params._dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed Aug 31, 2020
1 parent 8a8d702 commit a936e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/testing/mlutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _transform(self, dataset):

class MockUnaryTransformer(UnaryTransformer, DefaultParamsReadable, DefaultParamsWritable):

shift = Param(Params._dummy(), "shift", "The amount by which to shift " +
shift = Param(Params._dummy(), "shift", "The amount by which to shift " + # type: ignore[attr-defined]
"data in a DataFrame",
typeConverter=TypeConverters.toFloat)

Expand Down

0 comments on commit a936e03

Please sign in to comment.