nchammas commented on a change in pull request #34671: URL: https://github.com/apache/spark/pull/34671#discussion_r754570168
########## File path: python/pyspark/mllib/common.py ########## @@ -113,16 +117,16 @@ def _java2py(sc, r, encoding="bytes"): return r -def callJavaFunc(sc, func, *args): +def callJavaFunc(sc: pyspark.context.SparkContext, func: Callable, *args: Any) -> JavaObjectType: Review comment: Never mind, just saw your other comment. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org