Skip to content

Commit

Permalink
Drop unued typing.Type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed Sep 16, 2020
1 parent 40a3e81 commit 9998d0a
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion python/pyspark/ml/base.pyi
Expand Up @@ -24,7 +24,6 @@ from typing import (
List,
Optional,
Tuple,
Type,
)
from pyspark.ml._typing import M, P, T, ParamMap

Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/ml/classification.pyi
Expand Up @@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.

from typing import Any, List, Optional, Type
from typing import Any, List, Optional
from pyspark.ml._typing import JM, M, P, T, ParamMap

import abc
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/ml/evaluation.pyi
Expand Up @@ -17,7 +17,7 @@
# under the License.

import abc
from typing import Optional, Type
from typing import Optional
from pyspark.ml._typing import (
ParamMap,
BinaryClassificationEvaluatorMetricType,
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/ml/param/__init__.pyi
Expand Up @@ -18,7 +18,7 @@

import abc
from typing import overload
from typing import Any, Callable, Generic, List, Optional, Type
from typing import Any, Callable, Generic, List, Optional
from pyspark.ml._typing import T
import pyspark.ml._typing

Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/ml/regression.pyi
Expand Up @@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.

from typing import Any, List, Optional, Type
from typing import Any, List, Optional
from pyspark.ml._typing import JM, M, T

import abc
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/ml/wrapper.pyi
Expand Up @@ -17,7 +17,7 @@
# under the License.

import abc
from typing import Any, Optional, Type
from typing import Any, Optional
from pyspark.ml._typing import P, T, JM, ParamMap

from pyspark.ml import Estimator, Predictor, PredictionModel, Transformer, Model
Expand Down

0 comments on commit 9998d0a

Please sign in to comment.