pyspark.TaskContext.getLocalProperty

TaskContext.getLocalProperty(key)[source]

Get a local property set upstream in the driver, or None if it is missing.