File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -332,15 +332,14 @@ def create_image(
332332 def rebuild (
333333 self ,
334334 image : Image | BoundImage ,
335- * ,
336- return_response : bool = False ,
337- ) -> RebuildResponse | BoundAction :
335+ # pylint: disable=unused-argument
336+ ** kwargs : Any ,
337+ ) -> RebuildResponse :
338338 """Rebuilds a server overwriting its disk with the content of an image, thereby destroying all data on the target server.
339339
340340 :param image: Image to use for the rebuilt server
341- :param return_response: Whether to return the full response or only the action.
342341 """
343- return self ._client .rebuild (self , image , return_response = return_response )
342+ return self ._client .rebuild (self , image )
344343
345344 def change_type (
346345 self ,
@@ -1012,7 +1011,6 @@ def rebuild(
10121011
10131012 :param server: Server to rebuild
10141013 :param image: Image to use for the rebuilt server
1015- :param return_response: Whether to return the full response or only the action.
10161014 """
10171015 data : dict [str , Any ] = {"image" : image .id_or_name }
10181016 response = self ._client .request (
You can’t perform that action at this time.
0 commit comments