@@ -53,7 +53,7 @@ async def restart_addon(self, addon: str) -> None:
5353 """Restart an addon."""
5454 await self ._client .post (f"addons/{ addon } /restart" , timeout = None )
5555
56- async def addon_options (self , addon : str , options : AddonsOptions ) -> None :
56+ async def set_addon_options (self , addon : str , options : AddonsOptions ) -> None :
5757 """Set options for addon."""
5858 await self ._client .post (f"addons/{ addon } /options" , json = options .to_dict ())
5959
@@ -79,11 +79,13 @@ async def rebuild_addon(self, addon: str) -> None:
7979 """Rebuild an addon (only available for local addons built from source)."""
8080 await self ._client .post (f"addons/{ addon } /rebuild" )
8181
82- async def addon_stdin (self , addon : str , stdin : bytes ) -> None :
82+ async def write_addon_stdin (self , addon : str , stdin : bytes ) -> None :
8383 """Write to stdin of an addon (if supported by addon)."""
8484 await self ._client .post (f"addons/{ addon } /stdin" , data = stdin )
8585
86- async def addon_security (self , addon : str , options : AddonsSecurityOptions ) -> None :
86+ async def set_addon_security (
87+ self , addon : str , options : AddonsSecurityOptions
88+ ) -> None :
8789 """Set security options for addon."""
8890 await self ._client .post (f"addons/{ addon } /security" , json = options .to_dict ())
8991
0 commit comments