From 4468581d2e94eb35346ef3d6b0c542bc5548887f Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 29 Nov 2023 07:46:44 +1100 Subject: [PATCH] fix(nodes): remove extraneous `del` --- invokeai/app/invocations/baseinvocation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/invokeai/app/invocations/baseinvocation.py b/invokeai/app/invocations/baseinvocation.py index 51849dcbcc..b93e4f922f 100644 --- a/invokeai/app/invocations/baseinvocation.py +++ b/invokeai/app/invocations/baseinvocation.py @@ -314,7 +314,6 @@ def InputField( if default_factory is not _Unset and default_factory is not None: default = default_factory() - del default_factory logger.warn('"default_factory" is not supported, calling it now to set "default"') # These are the args we may wish pass to the pydantic `Field()` function