pyspark.BarrierTaskContext.resources¶
-
BarrierTaskContext.
resources
() → Dict[str, pyspark.resource.information.ResourceInformation]¶ 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
.