feat(nodes): context.__services -> context._services

This commit is contained in:
psychedelicious 2024-02-07 14:36:42 +11:00 committed by Brandon Rising
parent 10a4f1df8a
commit 57ae23b222

View File

@ -463,7 +463,8 @@ class InvocationContext:
"""Provides methods to interact with boards.""" """Provides methods to interact with boards."""
self.data = data self.data = data
"""Provides data about the current queue item and invocation.""" """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 @property
@deprecated(version=deprecation_version, reason=get_deprecation_reason("`context.services`")) @deprecated(version=deprecation_version, reason=get_deprecation_reason("`context.services`"))
@ -475,7 +476,7 @@ class InvocationContext:
The invocation services. The invocation services.
""" """
return self.__services return self._services
@property @property
@deprecated( @deprecated(