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


##########
python/pyspark/sql/connect/session.py:
##########
@@ -106,9 +106,13 @@ def config(
         def master(self, master: str) -> "SparkSession.Builder":
             return self
 
+        master.__doc__ = PySparkSession.builder.master.__doc__
+

Review Comment:
   let's remove these too. we should actually remove these methods away later.



##########
python/pyspark/sql/connect/session.py:
##########
@@ -106,9 +106,13 @@ def config(
         def master(self, master: str) -> "SparkSession.Builder":
             return self
 
+        master.__doc__ = PySparkSession.builder.master.__doc__
+
         def appName(self, name: str) -> "SparkSession.Builder":
             return self.config("spark.app.name", name)
 
+        appName.__doc__ = PySparkSession.builder.appName.__doc__

Review Comment:
   ditto



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