[ Web Proxy ]
URL:
Viewing: https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.TaskContext.resources.html [Back]  [Original]

pyspark.TaskContext.resources — PySpark 4.2.0 documentation Skip to main content
Search the docs ...:

pyspark.TaskContext.resources#

TaskContext.resources()[source]#

Resources allocated to the task. The key is the resource name and the value is information about the resource.

Returns
dict

a dictionary of a string resource name, and ResourceInformation.


Web Proxy Viewer  |  New URL  |  Original Page