InvokeAI/invokeai/app/services
psychedelicious b777dba430 feat: batch events
When a batch creates a session, we need to alert the client of this. Because the sessions are created by the batch manager (not directly in response to a client action), we need to emit an event with the session id.

To accomodate this, a secondary set of sio sub/unsub/event handlers are created. These are specifically for batch events. The room is the `batch_id`.

When creating a batch, the client subscribes to this batch room.

When the batch manager creates a batch session, a `batch_session_created` event is emitted in the appropriate room.  It includes the session id. The client then may subscribe to the session room, and all socket stuff proceeds as it did before.
2023-09-05 21:17:33 +10:00
..
config fix unknown PagingArgumentParser import error in ti-training 2023-08-30 17:49:19 -04:00
models fix(db): fix typing on ImageRecordChanges 2023-08-24 22:13:05 +10:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
batch_manager_storage.py feat(batch): use node_path instead of node_id to create batched sessions 2023-09-05 17:30:27 +10:00
batch_manager.py feat: batch events 2023-09-05 21:17:33 +10:00
board_image_record_storage.py Switch sqlite clients to only use one connection 2023-08-15 21:46:24 -04:00
board_images.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
board_record_storage.py Merge branch 'main' into feat/batch-graphs 2023-08-18 15:40:34 -04:00
boards.py Apply black 2023-07-27 10:54:01 -04:00
default_graphs.py feat(nodes): primitives have value instead of a as field names 2023-08-21 19:17:36 +10:00
events.py feat: batch events 2023-09-05 21:17:33 +10:00
graph.py feat: allow float inputs to accept integers 2023-09-04 15:25:31 +10:00
image_file_storage.py fix(nodes): fix uploading image metadata retention 2023-08-30 14:52:50 +10:00
image_record_storage.py Merge branch 'main' into feat/batch-graphs 2023-08-18 15:40:34 -04:00
images.py feat: workflow saving and loading 2023-08-24 21:42:32 +10:00
invocation_queue.py Apply black 2023-07-27 10:54:01 -04:00
invocation_services.py Merge branch 'main' into feat/batch-graphs 2023-08-18 15:40:34 -04:00
invocation_stats.py chore: flake8 2023-08-22 10:14:46 +10:00
invoker.py Create batch manager 2023-07-31 15:45:35 -04:00
item_storage.py Apply black 2023-07-27 10:54:01 -04:00
latent_storage.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
model_manager_service.py Merge branch 'main' into refactor/rename-performance-options 2023-08-17 14:43:00 -04:00
processor.py fix bad merge 2023-08-16 08:53:07 -04:00
resource_name.py feat(nodes): add nameservice 2023-05-28 20:19:56 -04:00
sqlite.py Testing out Spencer's batch data structure 2023-08-16 15:21:11 -04:00
urls.py feat: add multi-select to gallery 2023-08-03 11:46:59 +10:00