From e24624109edbc7a7de2bbd6ef40e4670f567a2e8 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 6 Mar 2024 23:16:34 +1100 Subject: [PATCH] fix(nodes): fix invocation cache ABC typing --- .../app/services/invocation_cache/invocation_cache_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/invokeai/app/services/invocation_cache/invocation_cache_base.py b/invokeai/app/services/invocation_cache/invocation_cache_base.py index d913e050ab..bde6a0f114 100644 --- a/invokeai/app/services/invocation_cache/invocation_cache_base.py +++ b/invokeai/app/services/invocation_cache/invocation_cache_base.py @@ -41,8 +41,9 @@ class InvocationCacheBase(ABC): """Clears the cache""" pass + @staticmethod @abstractmethod - def create_key(self, invocation: BaseInvocation) -> int: + def create_key(invocation: BaseInvocation) -> int: """Gets the key for the invocation's cache item""" pass