File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,14 @@ async def reload_updates(self) -> None:
117117 await self ._client .post ("reload_updates" , timeout = ClientTimeout (total = 300 ))
118118
119119 async def refresh_updates (self ) -> None :
120- """Refresh updates (discouraged)."""
120+ """Refresh updates.
121+
122+ Discouraged. Use the `reload_updates()` and `store.reload()` instead.
123+ """
121124 await self ._client .post ("refresh_updates" , timeout = ClientTimeout (total = 300 ))
122125
123126 async def available_updates (self ) -> list [AvailableUpdate ]:
124- """Get available updates (discouraged) ."""
127+ """Get available updates."""
125128 result = await self ._client .get ("available_updates" )
126129 return AvailableUpdates .from_dict (result .data ).available_updates
127130
You can’t perform that action at this time.
0 commit comments