Skip to content

Commit 2750100

Browse files
committed
fix: Make protected members private
1 parent 7fa72f6 commit 2750100

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/toolbox-core/src/toolbox_core/sync_tool.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ def __init__(
6767
f"{self.__class__.__qualname__}.{self.__async_tool.__name__}"
6868
)
6969

70+
@property
71+
def _async_tool(self) -> ToolboxTool:
72+
return self.__async_tool
73+
74+
@property
75+
def _loop(self) -> AbstractEventLoop:
76+
return self.__loop
77+
78+
@property
79+
def _thread(self) -> Thread:
80+
return self.__thread
81+
7082
@property
7183
def __name__(self) -> str:
7284
return self.__async_tool.__name__

0 commit comments

Comments
 (0)