zero323 commented on a change in pull request #35546:
URL: https://github.com/apache/spark/pull/35546#discussion_r807938421
##########
File path: python/pyspark/mllib/common.py
##########
@@ -127,13 +127,13 @@ def _java2py(sc: SparkContext, r:
"JavaObjectOrPickleDump", encoding: str = "byt
def callJavaFunc(
sc: pyspark.context.SparkContext, func: Callable[...,
"JavaObjectOrPickleDump"], *args: Any
-) -> "JavaObjectOrPickleDump":
+) -> Any:
Review comment:
These turned out to be too restrictive.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]