The number of seconds of inactivity required before the orca server is shut down. For example, if timeout is set to 20, then the orca server will shutdown once is has not been used for at least 20 seconds. If timeout is set to None, then the server will not
(self)
| 418 | |
| 419 | @property |
| 420 | def timeout(self): |
| 421 | """ |
| 422 | The number of seconds of inactivity required before the orca server |
| 423 | is shut down. |
| 424 | |
| 425 | For example, if timeout is set to 20, then the orca |
| 426 | server will shutdown once is has not been used for at least |
| 427 | 20 seconds. If timeout is set to None, then the server will not be |
| 428 | automatically shut down due to inactivity. |
| 429 | |
| 430 | Regardless of the value of timeout, a running orca server may be |
| 431 | manually shut down like this: |
| 432 | |
| 433 | >>> import plotly.io as pio |
| 434 | >>> pio.orca.shutdown_server() |
| 435 | |
| 436 | Returns |
| 437 | ------- |
| 438 | int or float or None |
| 439 | """ |
| 440 | return self._props.get("timeout", None) |
| 441 | |
| 442 | @timeout.setter |
| 443 | def timeout(self, val): |
nothing calls this directly
no test coverage detected