Skip to content

Commit 02ee913

Browse files
committed
format
Signed-off-by: Weichen Xu <[email protected]>
1 parent 3415f47 commit 02ee913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/ml/tuning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def load(
453453
est = uidToParams[jsonParam["parent"]]
454454
param = getattr(est, jsonParam["name"])
455455

456-
def extract_value(key):
456+
def extract_value(key: str) -> Any:
457457
if is_saved_by_python_writer:
458458
return jsonParam[key]
459459
# If the the params are serialized by java writer,

0 commit comments

Comments
 (0)