From cc3c2756bde72703dc31aa2e0fd5854a02bccb56 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 17 Aug 2023 13:32:32 +1000 Subject: [PATCH] feat(backend): rename batch changes variable `updateSession` -> `changes` --- invokeai/app/services/batch_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/app/services/batch_manager.py b/invokeai/app/services/batch_manager.py index 0443eb5632..3c392a6e6f 100644 --- a/invokeai/app/services/batch_manager.py +++ b/invokeai/app/services/batch_manager.py @@ -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: