zero323 commented on a change in pull request #34374:
URL: https://github.com/apache/spark/pull/34374#discussion_r753803461
##########
File path: python/pyspark/rdd.pyi
##########
@@ -60,6 +60,7 @@ from pyspark.sql._typing import RowLike
from py4j.java_gateway import JavaObject # type: ignore[import]
T = TypeVar("T")
+T_ = TypeVar("T_", covariant=True)
Review comment:
I'll add `_co` suffix on provisional basis ‒ if we decide on different
strategy, we can adjust thing in a separate PR.
--
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]