Skip to content
Snippets Groups Projects
Commit 9b7bbcef authored by Ken Takagiwa's avatar Ken Takagiwa Committed by Tathagata Das
Browse files

[DOC][PySpark][Streaming] Fix docstring for sphinx

This commit should be merged for 1.2 release.
cc tdas

Author: Ken Takagiwa <ugw.gi.world@gmail.com>

Closes #3311 from giwa/patch-3 and squashes the following commits:

ab474a8 [Ken Takagiwa] [DOC][PySpark][Streaming] Fix docstring for sphinx
parent 1c938413
No related branches found
No related tags found
No related merge requests found
......@@ -142,8 +142,8 @@ class StreamingContext(object):
recreated from the checkpoint data. If the data does not exist, then the provided setupFunc
will be used to create a JavaStreamingContext.
@param checkpointPath Checkpoint directory used in an earlier JavaStreamingContext program
@param setupFunc Function to create a new JavaStreamingContext and setup DStreams
@param checkpointPath: Checkpoint directory used in an earlier JavaStreamingContext program
@param setupFunc: Function to create a new JavaStreamingContext and setup DStreams
"""
# TODO: support checkpoint in HDFS
if not os.path.exists(checkpointPath) or not os.listdir(checkpointPath):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment