Skip to content

Commit b9ac4f8

Browse files
committed
Drop unued typing.Type imports
1 parent 53107a1 commit b9ac4f8

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

python/pyspark/ml/base.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ from typing import (
2424
List,
2525
Optional,
2626
Tuple,
27-
Type,
2827
)
2928
from pyspark.ml._typing import M, P, T, ParamMap
3029

python/pyspark/ml/classification.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818

19-
from typing import Any, List, Optional, Type
19+
from typing import Any, List, Optional
2020
from pyspark.ml._typing import JM, M, P, T, ParamMap
2121

2222
import abc

python/pyspark/ml/evaluation.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818

1919
import abc
20-
from typing import Optional, Type
20+
from typing import Optional
2121
from pyspark.ml._typing import (
2222
ParamMap,
2323
BinaryClassificationEvaluatorMetricType,

python/pyspark/ml/param/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import abc
2020
from typing import overload
21-
from typing import Any, Callable, Generic, List, Optional, Type
21+
from typing import Any, Callable, Generic, List, Optional
2222
from pyspark.ml._typing import T
2323
import pyspark.ml._typing
2424

python/pyspark/ml/regression.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818

19-
from typing import Any, List, Optional, Type
19+
from typing import Any, List, Optional
2020
from pyspark.ml._typing import JM, M, T
2121

2222
import abc

python/pyspark/ml/wrapper.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818

1919
import abc
20-
from typing import Any, Optional, Type
20+
from typing import Any, Optional
2121
from pyspark.ml._typing import P, T, JM, ParamMap
2222

2323
from pyspark.ml import Estimator, Predictor, PredictionModel, Transformer, Model

0 commit comments

Comments
 (0)