InvokeAI/invokeai/app/services/shared
psychedelicious a50c7c1cd7 feat(nodes): use ItemStorageABC for tensors and conditioning
Turns out `ItemStorageABC` was almost identical to `PickleStorageBase`. Instead of maintaining separate classes, we can use `ItemStorageABC` for both.

There's only one change needed - the `ItemStorageABC.set` method must return the newly stored item's ID. This allows us to let the service handle the responsibility of naming the item, but still create the requisite output objects during node execution.

The naming implementation is improved here. It extracts the name of the generic and appends a UUID to that string when saving items.
2024-03-01 10:42:33 +11:00
..
sqlite tidy(migrator): remove logic to check if graph_executions exists in migration 5 2024-02-02 09:20:41 +11:00
sqlite_migrator Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
__init__.py feat(backend): organise service dependencies 2023-10-12 12:15:06 -04:00
default_graphs.py chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
graph.py fix(nodes): restore type annotations for InvocationContext 2024-03-01 10:42:33 +11:00
invocation_context.py feat(nodes): use ItemStorageABC for tensors and conditioning 2024-03-01 10:42:33 +11:00
pagination.py feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00