xinrong-databricks commented on a change in pull request #34411:
URL: https://github.com/apache/spark/pull/34411#discussion_r738844261



##########
File path: python/pyspark/conf.py
##########
@@ -105,15 +108,16 @@ class SparkConf(object):
     spark.home=/path
     """
 
-    def __init__(self, loadDefaults=True, _jvm=None, _jconf=None):
+    def __init__(self, loadDefaults: bool = True, _jvm: Optional[JVMView] = 
None,
+                 _jconf: Optional[JavaObject] = None) -> None:

Review comment:
       It seems we don't need to annotate the return type of `__init__`.




-- 
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]

Reply via email to