pyspark.TaskContext.getLocalProperty

TaskContext.getLocalProperty(key: str) → Optional[str]

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