mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(nodes): fix types for InvocationServices
This commit is contained in:
committed by
Kent Keirsey
parent
f7804f6126
commit
22c34c343a
@ -1,9 +1,9 @@
|
|||||||
# Copyright (c) 2022 Kyle Schouviller (https://github.com/kyle0654) and the InvokeAI Team
|
# Copyright (c) 2022 Kyle Schouviller (https://github.com/kyle0654) and the InvokeAI Team
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
from logging import Logger
|
from logging import Logger
|
||||||
|
|
||||||
from invokeai.app.services.images import ImageService
|
from invokeai.app.services.images import ImageService
|
||||||
from invokeai.backend import ModelManager
|
from invokeai.backend import ModelManager
|
||||||
|
|
||||||
from .events import EventServiceBase
|
from .events import EventServiceBase
|
||||||
from .latent_storage import LatentsStorageBase
|
from .latent_storage import LatentsStorageBase
|
||||||
from .image_file_storage import ImageFileStorageBase
|
from .image_file_storage import ImageFileStorageBase
|
||||||
@ -13,6 +13,11 @@ from .item_storage import ItemStorageABC
|
|||||||
from .config import InvokeAISettings
|
from .config import InvokeAISettings
|
||||||
|
|
||||||
|
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from invokeai.app.services.graph import GraphExecutionState, LibraryGraph
|
||||||
|
from invokeai.app.services.invoker import InvocationProcessorABC
|
||||||
|
|
||||||
|
|
||||||
class InvocationServices:
|
class InvocationServices:
|
||||||
"""Services that can be used by invocations"""
|
"""Services that can be used by invocations"""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user