From d7b7dcc7fefe30b7c2d4cca578eecbd4ce52de1b Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 7 Feb 2024 14:36:42 +1100 Subject: [PATCH] feat(nodes): context.__services -> context._services --- invokeai/app/services/shared/invocation_context.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/invokeai/app/services/shared/invocation_context.py b/invokeai/app/services/shared/invocation_context.py index 99e439ad96..5da8593167 100644 --- a/invokeai/app/services/shared/invocation_context.py +++ b/invokeai/app/services/shared/invocation_context.py @@ -463,7 +463,8 @@ class InvocationContext: """Provides methods to interact with boards.""" self.data = data """Provides data about the current queue item and invocation.""" - self.__services = services + self._services = services + """Provides access to the full application services. This is an internal API and may change without warning.""" @property @deprecated(version=deprecation_version, reason=get_deprecation_reason("`context.services`")) @@ -475,7 +476,7 @@ class InvocationContext: The invocation services. """ - return self.__services + return self._services @property @deprecated(