zero323 commented on a change in pull request #30346:
URL: https://github.com/apache/spark/pull/30346#discussion_r521984807
##########
File path: python/pyspark/streaming/context.py
##########
@@ -242,9 +268,14 @@ def socketTextStream(self, hostname, port,
storageLevel=StorageLevel.MEMORY_AND_
a TCP socket and receive byte is interpreted as UTF8 encoded ``\\n``
delimited
lines.
- :param hostname: Hostname to connect to for receiving data
- :param port: Port to connect to for receiving data
- :param storageLevel: Storage level to use for storing the received
objects
+ Parameters
+ ----------
+ hostname : str
+ Hostname to connect to for receiving data
+ port : str
+ Port to connect to for receiving data
+ storageLevel : :class:`StorageLevel`
Review comment:
How about
:class:`pyspark.StorageLevel`
so it is properly linked?
----------------------------------------------------------------
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]