pyspark.streaming.StreamingContext.getActive#

classmethod StreamingContext.getActive()[source]#

Return either the currently active StreamingContext (i.e., if there is a context started but not stopped) or None.