InvokeAI/invokeai/app
psychedelicious 2a35d93a4d feat(backend): organise service dependencies
**Service Dependencies**

Services that depend on other services now access those services via the `Invoker` object. This object is provided to the service as a kwarg to its `start()` method.

Until now, most services did not utilize this feature, and several services required their dependencies to be initialized and passed in on init.

Additionally, _all_ services are now registered as invocation services - including the low-level services. This obviates issues with inter-dependent services we would otherwise experience as we add workflow storage.

**Database Access**

Previously, we were passing in a separate sqlite connection and corresponding lock as args to services in their init. A good amount of posturing was done in each service that uses the db.

These objects, along with the sqlite startup and cleanup logic, is now abstracted into a simple `SqliteDatabase` class. This creates the shared connection and lock objects, enables foreign keys, and provides a `clean()` method to do startup db maintenance.

This is not a service as it's only used by sqlite services.
2023-10-12 12:15:06 -04:00
..
api feat(backend): organise service dependencies 2023-10-12 12:15:06 -04:00
assets/images tweaks in response to psychedelicious review of PR 2023-07-26 15:27:04 +10:00
cli isort wip 2023-09-12 13:01:58 -04:00
invocations feat(nodes,ui): add t2i to linear UI 2023-10-07 22:30:15 +11:00
models feat(nodes): refactor parameter/primitive nodes 2023-08-16 09:54:38 +10:00
services feat(backend): organise service dependencies 2023-10-12 12:15:06 -04:00
util Add support for T2I-Adapter in node workflows (#4612) 2023-10-05 16:29:16 +11:00
api_app.py Removing logging import from api_api.py 2023-09-25 07:25:32 +10:00
cli_app.py Merge branch 'main' into refactor/rename-get-logger 2023-09-23 14:49:07 -07:00