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


##########
python/pyspark/context.py:
##########
@@ -1468,13 +2163,25 @@ def getLocalProperty(self, key: str) -> Optional[str]:
         """
         Get a local property set in this thread, or null if it is missing. See
         :meth:`setLocalProperty`.
+
+        .. versionadded:: 1.0.0
+
+        See Also
+        --------
+        :meth:`SparkContext.setLocalProperty`
         """
         return self._jsc.getLocalProperty(key)
 
     def setJobDescription(self, value: str) -> None:
         """
         Set a human readable description of the current job.
 
+        .. versionadded:: 2.3.0

Review Comment:
   ```suggestion
           .. versionadded:: 2.3.0
   
   ```



##########
python/pyspark/context.py:
##########
@@ -1457,6 +2140,18 @@ def setLocalProperty(self, key: str, value: str) -> None:
         Set a local property that affects jobs submitted from this thread, 
such as the
         Spark fair scheduler pool.
 
+        .. versionadded:: 1.0.0

Review Comment:
   ```suggestion
           .. versionadded:: 1.0.0
   
   ```



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