mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(backend): rename batch changes variable
`updateSession` -> `changes`
This commit is contained in:
parent
67cf594bb3
commit
cc3c2756bd
@ -74,11 +74,11 @@ class BatchManager(BatchManagerBase):
|
|||||||
batch_session = self.__batch_process_storage.get_session(data["graph_execution_state_id"])
|
batch_session = self.__batch_process_storage.get_session(data["graph_execution_state_id"])
|
||||||
if not batch_session:
|
if not batch_session:
|
||||||
return None
|
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 = self.__batch_process_storage.update_session_state(
|
||||||
batch_session.batch_id,
|
batch_session.batch_id,
|
||||||
batch_session.session_id,
|
batch_session.session_id,
|
||||||
updateSession,
|
changes,
|
||||||
)
|
)
|
||||||
batch_process = self.__batch_process_storage.get(batch_session.batch_id)
|
batch_process = self.__batch_process_storage.get(batch_session.batch_id)
|
||||||
if not batch_process.canceled:
|
if not batch_process.canceled:
|
||||||
|
Loading…
Reference in New Issue
Block a user