srowen commented on a change in pull request #34892:
URL: https://github.com/apache/spark/pull/34892#discussion_r770876515
##########
File path: python/pyspark/context.py
##########
@@ -288,9 +287,11 @@ def _do_init(
# Create a single Accumulator in Java that we'll send all our updates
through;
# they will be passed back to us through a TCP server
+ assert self._gateway is not None
Review comment:
Why are the asserts needed, out of curiosity
--
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]