Skip to content

Commit 9e6c012

Browse files
committed
refactor: start _get_addon_logs_via_supervisor docstring with action verb
Per Gemini review on PR homeassistant-ai#1126: aligns the internal helper's docstring with the action-verb shape of nearby Fetch*/Get* methods on HomeAssistantClient. The .gemini/styleguide.md MCP-Tool-Docstrings section technically scopes to public @tool functions, so this is a consistency-nit rather than a styleguide-mandated fix — but matches the local pattern.
1 parent 9e572b2 commit 9e6c012

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ha_mcp/client/rest_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ async def get_addon_logs(self, slug: str) -> str:
470470
return response.text
471471

472472
async def _get_addon_logs_via_supervisor(self, slug: str) -> str:
473-
"""Direct Supervisor REST API fetch for add-on installs.
473+
"""Fetch add-on logs directly from the Supervisor REST API.
474474
475475
Mirrors the access pattern used by ``tools_bug_report._fetch_addon_logs``:
476476
a fresh ``httpx.AsyncClient`` against ``http://supervisor`` authed with

0 commit comments

Comments
 (0)