pyspark.SparkContext.getLocalProperty

SparkContext.getLocalProperty(key: str) → Optional[str][source]

Get a local property set in this thread, or null if it is missing. See setLocalProperty().