From d5f5fcb80ad470fde5d873a6a35e6027a1d1752c Mon Sep 17 00:00:00 2001 From: giwa Date: Sun, 31 Aug 2014 16:31:01 +0900 Subject: [PATCH] added comment for StreamingContext.sparkContext --- python/pyspark/streaming/context.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/pyspark/streaming/context.py b/python/pyspark/streaming/context.py index 78828ea4ea3c2..bbb4f6764e266 100644 --- a/python/pyspark/streaming/context.py +++ b/python/pyspark/streaming/context.py @@ -94,6 +94,9 @@ def clean_up_handler(*args): @property def sparkContext(self): + """ + Return SparkContext which is associated this StreamingContext + """ return self._sc def start(self):