HyukjinKwon commented on a change in pull request #30346:
URL: https://github.com/apache/spark/pull/30346#discussion_r522708852
##########
File path: python/pyspark/streaming/context.py
##########
@@ -90,8 +94,12 @@ def getOrCreate(cls, checkpointPath, setupFunc):
recreated from the checkpoint data. If the data does not exist, then
the provided setupFunc
will be used to create a new context.
- :param checkpointPath: Checkpoint directory used in an earlier
streaming program
- :param setupFunc: Function to create a new context and setup
DStreams
+ Parameters
+ ----------
+ checkpointPath : str
+ Checkpoint directory used in an earlier streaming program
+ setupFunc : funcion
Review comment:
```suggestion
setupFunc : function
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]