Skip to content

Commit 31809a1

Browse files
committed
rename private method
1 parent d41aed8 commit 31809a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def base_url(self) -> str:
4040
"""The base URL for the transport."""
4141
return self.__base_url
4242

43-
async def _get_manifest(
43+
async def __get_manifest(
4444
self, url: str, headers: Optional[Mapping[str, str]]
4545
) -> ManifestSchema:
4646
"""Helper method to perform GET requests and parse the ManifestSchema."""
@@ -57,15 +57,15 @@ async def tool_get(
5757
self, tool_name: str, headers: Optional[Mapping[str, str]] = None
5858
) -> ManifestSchema:
5959
url = f"{self.__base_url}/api/tool/{tool_name}"
60-
return await self._get_manifest(url, headers)
60+
return await self.__get_manifest(url, headers)
6161

6262
async def tools_list(
6363
self,
6464
toolset_name: Optional[str] = None,
6565
headers: Optional[Mapping[str, str]] = None,
6666
) -> ManifestSchema:
6767
url = f"{self.__base_url}/api/toolset/{toolset_name or ''}"
68-
return await self._get_manifest(url, headers)
68+
return await self.__get_manifest(url, headers)
6969

7070
async def tool_invoke(
7171
self, tool_name: str, arguments: dict, headers: Mapping[str, str]

0 commit comments

Comments
 (0)