pyspark.TaskContext

class pyspark.TaskContext[source]

Contextual information about a task which can be read or mutated during execution. To access the TaskContext for a running task, use: TaskContext.get().

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods