Skip to content

Commit 2d754f7

Browse files
committed
Update the version added for rdd api's
1 parent 6a90fbe commit 2d754f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/pyspark/rdd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,7 +2494,7 @@ def withResources(self, profile):
24942494
It will result in new executors with the resources specified being acquired to
24952495
calculate the RDD.
24962496
2497-
.. versionadded:: 3.0.0
2497+
.. versionadded:: 3.1.0
24982498
"""
24992499
self.has_resourceProfile = True
25002500
self._jrdd.withResources(profile._jResourceProfile)
@@ -2507,7 +2507,7 @@ def getResourceProfile(self):
25072507
Get the ResourceProfile specified with this RDD or None if it wasn't specified.
25082508
:return: the user specified ResourceProfile or null if none was specified
25092509
2510-
.. versionadded:: 3.0.0
2510+
.. versionadded:: 3.1.0
25112511
"""
25122512
return ResourceProfile(self._jrdd.getResourceProfile())
25132513

0 commit comments

Comments
 (0)