From 2d617f606767eaabec213c8249bbe7ba92d04fab Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 20 Sep 2024 21:16:12 +1000 Subject: [PATCH] feat(nodes): add `Classification.Internal` This can be used for nodes that Invoke uses internally. Internal nodes do not have API stability guarantees. For example, they may change if the needs of the linear UI change. --- invokeai/app/invocations/baseinvocation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invokeai/app/invocations/baseinvocation.py b/invokeai/app/invocations/baseinvocation.py index 5a88a13b60..f86dc2d9a1 100644 --- a/invokeai/app/invocations/baseinvocation.py +++ b/invokeai/app/invocations/baseinvocation.py @@ -61,12 +61,14 @@ class Classification(str, Enum, metaclass=MetaEnum): - `Beta`: The invocation is not yet stable, but is planned to be stable in the future. Workflows built around this invocation may break, but we are committed to supporting this invocation long-term. - `Prototype`: The invocation is not yet stable and may be removed from the application at any time. Workflows built around this invocation may break, and we are *not* committed to supporting this invocation. - `Deprecated`: The invocation is deprecated and may be removed in a future version. + - `Internal`: The invocation is not intended for use by end-users. It may be changed or removed at any time, but is exposed for users to play with. """ Stable = "stable" Beta = "beta" Prototype = "prototype" Deprecated = "deprecated" + Internal = "internal" class UIConfigBase(BaseModel):