HyukjinKwon commented on code in PR #45150: URL: https://github.com/apache/spark/pull/45150#discussion_r1546081736
########## python/pyspark/sql/connect/session.py: ########## @@ -326,6 +327,28 @@ def readStream(self) -> "DataStreamReader": readStream.__doc__ = PySparkSession.readStream.__doc__ + def registerProgressHandler(self, handler: "ProgressHandler") -> None: + """ + Register a progress handler to be called when a progress update is received from the server. + .. versionadded:: 4.0 Review Comment: API should follow https://numpydoc.readthedocs.io/en/latest/format.html with describing return type, and example if possible. -- 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