@@ -103,15 +103,15 @@ def stop(self, *, timeout: float | None = None) -> None:
103103
104104 Parameters
105105 ----------
106- timeout :
106+ timeout : float, default: None
107107 Time in seconds after which the instance is forcefully stopped.
108108 Not all launch methods implement this parameter. If the parameter
109109 is not implemented, it is ignored.
110110
111111 Raises
112112 ------
113113 ProductInstanceError
114- If the instance is already in the stopped state .
114+ If the instance is already stopped.
115115 """
116116 if self .stopped :
117117 raise ProductInstanceError ("Cannot stop the server. It has already been stopped." )
@@ -123,7 +123,7 @@ def restart(self, stop_timeout: float | None = None) -> None:
123123
124124 Parameters
125125 ----------
126- stop_timeout :
126+ stop_timeout : float, default: None
127127 Time in seconds after which the instance is forcefully stopped.
128128 Not all launch methods implement this parameter. If the parameter
129129 is not implemented, it is ignored.
@@ -141,7 +141,7 @@ def check(self, timeout: float | None = None) -> bool:
141141
142142 Parameters
143143 ----------
144- timeout :
144+ timeout : float, default: None
145145 Time in seconds to wait for the servers to respond. There
146146 is no guarantee that the ``check()`` method returns within this time.
147147 Instead, this parameter is used as a hint to the launcher implementation.
@@ -156,7 +156,7 @@ def wait(self, timeout: float) -> None:
156156
157157 Parameters
158158 ----------
159- timeout :
159+ timeout : float, default: None
160160 Wait time in seconds before raising an exception.
161161
162162 Raises
0 commit comments