pyspark.streaming.DStream.context

DStream.context() → StreamingContext

Return the StreamingContext associated with this DStream