InvokeAI/invokeai/app/services
psychedelicious 7fbdfbf9e5 feat(nodes): add WithBoard field helper class
This class works the same way as `WithMetadata` - it simply adds a `board` field to the node. The context wrapper function is able to pull the board id from this. This allows image-outputting nodes to get a board field "for free", and have their outputs automatically saved to it.

This is a breaking change for node authors who may have a field called `board`, because it makes `board` a reserved field name. I'll look into how to avoid this - maybe by naming this invoke-managed field `_board` to avoid collisions?

Supporting changes:
- `WithBoard` is added to all image-outputting nodes, giving them the ability to save to board.
- Unused, duplicate `WithMetadata` and `WithWorkflow` classes are deleted from `baseinvocation.py`. The "real" versions are in `fields.py`.
- Remove `LinearUIOutputInvocation`. Now that all nodes that output images also have a `board` field by default, this node is no longer necessary. See comment here for context: https://github.com/invoke-ai/InvokeAI/pull/5491#discussion_r1480760629
- Without `LinearUIOutputInvocation`, the `ImagesInferface.update` method is no longer needed, and removed.

Note: This commit does not bump all node versions. I will ensure that is done correctly before merging the PR of which this commit is a part.

Note: A followup commit will implement the frontend changes to support this change.
2024-03-01 10:42:33 +11:00
..
board_image_records feat(db): add SQLiteMigrator to perform db migrations 2023-12-11 16:14:25 +11:00
board_images feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
board_records feat(db): add SQLiteMigrator to perform db migrations 2023-12-11 16:14:25 +11:00
boards feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
config pref: annotate 2024-02-03 10:18:26 +11:00
download Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
events feat(nodes): update all invocations to use new invocation context 2024-03-01 10:42:33 +11:00
image_files tidy(nodes): move all field things to fields.py 2024-03-01 10:42:33 +11:00
image_records tidy(nodes): move all field things to fields.py 2024-03-01 10:42:33 +11:00
images tidy(nodes): move all field things to fields.py 2024-03-01 10:42:33 +11:00
invocation_cache feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
invocation_processor feat(nodes): update all invocations to use new invocation context 2024-03-01 10:42:33 +11:00
invocation_queue feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00
invocation_stats feat(nodes): do not log stats errors 2024-02-07 11:26:15 +11:00
item_storage chore(item-storage): improve types 2024-02-03 07:34:06 -05:00
latents_storage feat(backend): move logic to clear latents to method 2023-12-01 17:44:07 -08:00
model_install Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
model_manager feat(nodes): update all invocations to use new invocation context 2024-03-01 10:42:33 +11:00
model_records Model Manager Refactor: Install remote models and store their tags and other metadata (#5361) 2024-01-14 19:54:53 +00:00
names feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
session_processor feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00
session_queue feat(db): add SQLiteMigrator to perform db migrations 2023-12-11 16:14:25 +11:00
shared feat(nodes): add WithBoard field helper class 2024-03-01 10:42:33 +11:00
urls feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
workflow_records add project as category to back-end 2024-01-24 10:59:04 +11:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
invocation_services.py [feature] Download Queue (#5225) 2023-12-22 12:35:57 -05:00
invoker.py feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00