mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add restoration services to nodes
This commit is contained in:
@ -26,7 +26,8 @@ def mock_services():
|
||||
images = None,
|
||||
queue = MemoryInvocationQueue(),
|
||||
graph_execution_manager = SqliteItemStorage[GraphExecutionState](filename = sqlite_memory, table_name = 'graph_executions'),
|
||||
processor = DefaultInvocationProcessor()
|
||||
processor = DefaultInvocationProcessor(),
|
||||
restoration = None,
|
||||
)
|
||||
|
||||
def invoke_next(g: GraphExecutionState, services: InvocationServices) -> tuple[BaseInvocation, BaseInvocationOutput]:
|
||||
|
@ -26,7 +26,8 @@ def mock_services() -> InvocationServices:
|
||||
images = None, # type: ignore
|
||||
queue = MemoryInvocationQueue(),
|
||||
graph_execution_manager = SqliteItemStorage[GraphExecutionState](filename = sqlite_memory, table_name = 'graph_executions'),
|
||||
processor = DefaultInvocationProcessor()
|
||||
processor = DefaultInvocationProcessor(),
|
||||
restoration = None,
|
||||
)
|
||||
|
||||
@pytest.fixture()
|
||||
|
Reference in New Issue
Block a user