HyukjinKwon commented on code in PR #37517:
URL: https://github.com/apache/spark/pull/37517#discussion_r945590476


##########
python/pyspark/context.py:
##########
@@ -99,39 +99,37 @@ class SparkContext:
 
     Parameters
     ----------
-    master : str, optional
+    master : str, optional, default None
         Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, 
local[4]).
-    appName : str, optional
+    appName : str, optional, default None
         A name for your job, to display on the cluster web UI.
-    sparkHome : str, optional
+    sparkHome : str, optional, default None
         Location where Spark is installed on cluster nodes.
-    pyFiles : list, optional
+    pyFiles : list, optional, default None
         Collection of .zip or .py files to send to the cluster
         and add to PYTHONPATH.  These can be paths on the local file
         system or HDFS, HTTP, HTTPS, or FTP URLs.
-    environment : dict, optional
+    environment : dict, optional, default None
         A dictionary of environment variables to set on
         worker nodes.
-    batchSize : int, optional
+    batchSize : int, optional, default 0
         The number of Python objects represented as a single
         Java object. Set 1 to disable batching, 0 to automatically choose
         the batch size based on object sizes, or -1 to use an unlimited
         batch size
-    serializer : :class:`pyspark.serializers.Serializer`, optional
+    serializer : :class:`pyspark.serializers.Serializer`, optional, default 
`CPickleSerializer`
         The serializer for RDDs.
-    conf : :py:class:`pyspark.SparkConf`, optional
+    conf : :py:class:`pyspark.SparkConf`, optional, default None
         An object setting Spark properties.
-    gateway : :py:class:`py4j.java_gateway.JavaGateway`,  optional
+    gateway : :py:class:`py4j.java_gateway.JavaGateway`,  optional, default 
None

Review Comment:
   ```suggestion
       gateway : :py:class:`py4j.java_gateway.JavaGateway`,  optional
   ```



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