ARQ WIP - session aborting

This commit is contained in:
DJ2LS 2023-12-24 13:27:24 +01:00
parent cc60391d26
commit 1d5a0970c6

View file

@ -126,12 +126,16 @@ class StateManager:
def get_arq_iss_session(self, id):
if id not in self.arq_iss_sessions:
raise RuntimeError(f"ARQ ISS Session '{id}' not found!")
#raise RuntimeError(f"ARQ ISS Session '{id}' not found!")
# DJ2LS: WIP We need to find a better way of handling this
return None
return self.arq_iss_sessions[id]
def get_arq_irs_session(self, id):
if id not in self.arq_irs_sessions:
raise RuntimeError(f"ARQ IRS Session '{id}' not found!")
#raise RuntimeError(f"ARQ IRS Session '{id}' not found!")
# DJ2LS: WIP We need to find a better way of handling this
return None
return self.arq_irs_sessions[id]
def remove_arq_iss_session(self, id):