pyspark.SparkContext.resources

property SparkContext.resources

Return the resource information of this SparkContext. A resource could be a GPU, FPGA, etc.

New in version 3.0.0.