File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/toolbox-core/src/toolbox_core Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ def __init__(
52
52
if not isinstance (async_tool , ToolboxTool ):
53
53
raise TypeError ("async_tool must be an instance of ToolboxTool" )
54
54
55
- self ._async_tool = async_tool
56
- self ._loop = loop
57
- self ._thread = thread
55
+ self .__async_tool = async_tool
56
+ self .__loop = loop
57
+ self .__thread = thread
58
58
59
59
# NOTE: We cannot define __qualname__ as a @property here.
60
60
# Properties are designed to compute values dynamically when accessed on an *instance* (using 'self').
@@ -67,15 +67,15 @@ def __init__(
67
67
68
68
@property
69
69
def _async_tool (self ) -> ToolboxTool :
70
- return self ._async_tool
70
+ return self .__async_tool
71
71
72
72
@property
73
73
def _loop (self ) -> AbstractEventLoop :
74
- return self ._loop
74
+ return self .__loop
75
75
76
76
@property
77
77
def _thread (self ) -> Thread :
78
- return self ._thread
78
+ return self .__thread
79
79
80
80
@property
81
81
def __name__ (self ) -> str :
You can’t perform that action at this time.
0 commit comments