Skip to content

Commit

Permalink
added comment for StreamingContext.sparkContext
Browse files Browse the repository at this point in the history
  • Loading branch information
giwa committed Sep 20, 2014
1 parent 63c881a commit d5f5fcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/pyspark/streaming/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d5f5fcb

Please sign in to comment.