close_all_sessions() #963
Labels
enhancement
New feature or request
priority: medium
Medium Priority issue (must have for current release)
server action
Need actions from the server side
What is the expected feature or enhancement?
A method that closes any currently open sessions.
For example, say I am developing code that involves submitting jobs in a session. I run the code and it starts submitting jobs. Then I notice a bug in my code, so I hit ctrl+C to interrupt, fix the bug, then restart. If I understand correctly, a new session is created, but the old session is still running and I cannot close it since I do not have access to it. Instead, I have to wait for some timeout condition to automatically kill the old session before my new session can start running jobs (is this correct?).
If the above is an accurate description of the situation, then if I could call
service.close_all_sessions()
, I would not have to wait for this timeout condition. More generally, it would also be nice to have access to something likeservice.open_sessions()
so I can see a list of what sessions I have open (and potentially close unneeded ones).The text was updated successfully, but these errors were encountered: