zero323 commented on a change in pull request #34324:
URL: https://github.com/apache/spark/pull/34324#discussion_r788198862



##########
File path: python/pyspark/streaming/dstream.py
##########
@@ -51,122 +76,165 @@ class DStream(object):
      - A function that is used to generate an RDD after each time interval
     """
 
-    def __init__(self, jdstream, ssc, jrdd_deserializer):
+    def __init__(
+        self,
+        jdstream: JavaObject,
+        ssc: "StreamingContext",
+        jrdd_deserializer: "Serializer",

Review comment:
       For starters, this should be re-synced with master, as covariance has 
some impact on annotations on implementation (I took over SPARK-37154 from 
Byron to deal with that on `pyspark.rdd`).




-- 
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]

Reply via email to