InvokeAI/invokeai/app/api
psychedelicious 7cb8e29726 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-02-29 13:16:36 -05:00
..
routers tidy(nodes): move all field things to fields.py 2024-02-29 13:16:35 -05:00
dependencies.py feat(nodes): use ItemStorageABC for tensors and conditioning 2024-02-29 13:16:36 -05:00
events.py chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
no_cache_staticfiles.py fix(api): typo in no_cache_staticfiles.py 2024-01-22 16:10:25 +11:00
sockets.py Upgrade version of fastapi and socketio 2024-02-09 09:04:01 +11:00