Skip to content

Commit 4e23dc6

Browse files
committed
Add discouraged explanation
1 parent a3a0632 commit 4e23dc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aiohasupervisor/root.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ async def reload_updates(self) -> None:
119119
async def refresh_updates(self) -> None:
120120
"""Refresh updates.
121121
122-
Discouraged. Use the `reload_updates()` and `store.reload()` instead.
122+
Discouraged as this endpoint does two things at once. Use the `reload_updates()`
123+
and `store.reload()` instead.
123124
"""
124125
await self._client.post("refresh_updates", timeout=ClientTimeout(total=300))
125126

0 commit comments

Comments
 (0)