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 @@ -51,9 +51,9 @@ def __init__(
51
51
if not isinstance (async_tool , ToolboxTool ):
52
52
raise TypeError ("async_tool must be an instance of ToolboxTool" )
53
53
54
- self ._async_tool = async_tool
55
- self ._loop = loop
56
- self ._thread = thread
54
+ self .__async_tool = async_tool
55
+ self .__loop = loop
56
+ self .__thread = thread
57
57
58
58
# NOTE: We cannot define __qualname__ as a @property here.
59
59
# Properties are designed to compute values dynamically when accessed on an *instance* (using 'self').
@@ -66,15 +66,15 @@ def __init__(
66
66
67
67
@property
68
68
def _async_tool (self ) -> ToolboxTool :
69
- return self ._async_tool
69
+ return self .__async_tool
70
70
71
71
@property
72
72
def _loop (self ) -> AbstractEventLoop :
73
- return self ._loop
73
+ return self .__loop
74
74
75
75
@property
76
76
def _thread (self ) -> Thread :
77
- return self ._thread
77
+ return self .__thread
78
78
79
79
@property
80
80
def __name__ (self ) -> str :
You can’t perform that action at this time.
0 commit comments