HyukjinKwon opened a new pull request, #41708: URL: https://github.com/apache/spark/pull/41708
### What changes were proposed in this pull request? This PR proposes to document: - `SparkSession.builder.create` (SPARK-43509) - `SparkSession.addArtifact` (SPARK-43612) - `SparkSession.addArtifacts` (SPARK-43612) - `SparkSession.copyFromLocalToFs` (SPARK-43790) - `SparkSession.client` (SPARK-41255) It adds the methods to `SparkSession` so the type hints work correctly but it throws a runtime error if it's not Spark Connect. ### Why are the changes needed? In order to document Spark Connect client features. ### Does this PR introduce _any_ user-facing change? Yes, users will be able to see the new API in the documentation ### How was this patch tested? I manually built the Python API reference documentation, and checked as below: -- 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