pyspark.Broadcast.unpersist

Broadcast.unpersist(blocking: bool = False) → None[source]

Delete cached copies of this broadcast on the executors. If the broadcast is used after this is called, it will need to be re-sent to each executor.

Parameters
blockingbool, optional

Whether to block until unpersisting has completed