feat(backend): rename batch changes variable

`updateSession` -> `changes`
This commit is contained in:
psychedelicious 2023-08-17 13:32:32 +10:00
parent 67cf594bb3
commit cc3c2756bd

View File

@ -74,11 +74,11 @@ class BatchManager(BatchManagerBase):
batch_session = self.__batch_process_storage.get_session(data["graph_execution_state_id"])
if not batch_session:
return None
updateSession = BatchSessionChanges(state="error" if err else "completed")
changes = BatchSessionChanges(state="error" if err else "completed")
batch_session = self.__batch_process_storage.update_session_state(
batch_session.batch_id,
batch_session.session_id,
updateSession,
changes,
)
batch_process = self.__batch_process_storage.get(batch_session.batch_id)
if not batch_process.canceled: