HyukjinKwon commented on code in PR #40586:
URL: https://github.com/apache/spark/pull/40586#discussion_r1157045341
##########
python/pyspark/sql/dataframe.py:
##########
@@ -529,14 +529,10 @@ def writeStream(self) -> DataStreamWriter:
--------
>>> import tempfile
>>> df = spark.readStream.format("rate").load()
- >>> type(df.writeStream)
Review Comment:
You can fix the type like:
```python
type(df.writeStream)
<class '...readwriter.DataFrameReader'>
```
##########
python/pyspark/sql/dataframe.py:
##########
@@ -529,14 +529,10 @@ def writeStream(self) -> DataStreamWriter:
--------
>>> import tempfile
>>> df = spark.readStream.format("rate").load()
- >>> type(df.writeStream)
Review Comment:
You can fix the type like:
```python
type(df.writeStream) # doctest: +ELLIPSIS
<class '...readwriter.DataFrameReader'>
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]