dchvn commented on a change in pull request #34293:
URL: https://github.com/apache/spark/pull/34293#discussion_r787467411



##########
File path: python/pyspark/streaming/context.py
##########
@@ -313,14 +331,19 @@ def binaryRecordsStream(self, directory, recordLength):
             self._jssc.binaryRecordsStream(directory, recordLength), self, 
NoOpSerializer()
         )
 
-    def _check_serializers(self, rdds):
+    def _check_serializers(self, rdds: List["RDD[T]"]) -> None:

Review comment:
       Similar 
https://github.com/apache/spark/pull/34293#discussion_r787464897, we need 
inline type hints `python/pyspark/rdd.py` to do that




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