InvokeAI/invokeai/app/services
psychedelicious 6e5ff7b79c feat(app): add origin to session queue
The origin is an optional field indicating the queue item's origin. For example, "canvas" when the queue item originated from the canvas or "workflows" when the queue item originated from the workflows tab. If omitted, we assume the queue item originated from the API directly.

- Add migration to add the nullable column to the `session_queue` table.
- Update relevant event payloads with the new field.
- Add `cancel_by_origin` method to `session_queue` service and corresponding route. This is required for the canvas to bail out early when staging images.
- Add `origin` to both `SessionQueueItem` and `Batch` - it needs to be provided initially via the batch and then passed onto the queue item.
-
2024-08-23 19:46:03 +10:00
..
board_image_records Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
board_images Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
board_records Merge branch 'main' into boards-ui-update 2024-07-08 22:06:26 -04:00
boards update BoardRecord 2024-07-08 14:55:04 -04:00
bulk_download Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
config update config docstring 2024-08-12 15:17:40 -04:00
download Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
events feat(app): add origin to session queue 2024-08-23 19:46:03 +10:00
image_files feat(app): clean up DiskImageStorage types 2024-08-04 09:43:20 +10:00
image_records Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
images Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
invocation_cache fix(nodes): correctly serialize outputs 2024-03-06 08:14:12 -05:00
invocation_stats Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
item_storage revert(nodes): revert making tensors/conditioning use item storage 2024-03-01 10:42:33 +11:00
model_images feat(app): delete model_images instead of using send2trash 2024-08-04 09:43:20 +10:00
model_install [MM2] Use typed ModelRecordChanges for model_install() rather than untyped dict (#6645) 2024-07-23 21:41:00 +00:00
model_load Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
model_manager Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
model_records [MM2] Use typed ModelRecordChanges for model_install() rather than untyped dict (#6645) 2024-07-23 21:41:00 +00:00
names Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
object_serializer tidy(app): remove unused class 2024-04-23 17:12:14 +10:00
session_processor Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00
session_queue feat(app): add origin to session queue 2024-08-23 19:46:03 +10:00
shared feat(app): add origin to session queue 2024-08-23 19:46:03 +10:00
style_preset_images fix(app): include style preset defaults in build 2024-08-16 21:47:06 +10:00
style_preset_records fix(api): allow updating of type for style preset 2024-08-19 16:12:39 -04:00
urls style preset images 2024-08-07 09:58:27 -04:00
workflow_records feat(app): remove beta from multidiffusion workflows 2024-07-26 13:47:51 +10:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
invocation_services.py API/DB updates per PR feedback 2024-08-09 16:27:37 -04:00
invoker.py Apply ruff rule to disallow all relative imports. 2024-07-04 09:35:37 -04:00