Skip to content

Commit d5f5fcb

Browse files
committed
added comment for StreamingContext.sparkContext
1 parent 63c881a commit d5f5fcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/pyspark/streaming/context.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ def clean_up_handler(*args):
9494

9595
@property
9696
def sparkContext(self):
97+
"""
98+
Return SparkContext which is associated this StreamingContext
99+
"""
97100
return self._sc
98101

99102
def start(self):

0 commit comments

Comments
 (0)