Spenserrrr commented on code in PR #57611:
URL: https://github.com/apache/spark/pull/57611#discussion_r3687912480
##########
python/pyspark/sql/connect/readwriter.py:
##########
@@ -57,7 +57,7 @@
class OptionUtils:
def _set_opts(
- self,
+ self: "SupportsOption",
Review Comment:
Thanks! I switched to declaring option as an abstract method on OptionUtils
(now an ABC) and dropped the SupportsOption protocol.
--
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]