zhengruifeng commented on code in PR #42608:
URL: https://github.com/apache/spark/pull/42608#discussion_r1302605786
##########
python/pyspark/testing/connectutils.py:
##########
@@ -76,6 +76,7 @@ class MockRemoteSession:
def __init__(self):
self.hooks = {}
self.session_id = str(uuid.uuid4())
+ self.is_stopped = True
Review Comment:
I tried `hasattr`, but `hasattr(self._session, '_client')` won't work, I
guess that is due to `MockRemoteSession` has its own `__getattr__` method
but let me check `if not hasattr(self._session, "is_mocksession")`, thanks
--
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]