RestartPromptScreen(
self,
label: str,
)ModalScreen[RestartChoice]| Name | Type | Description |
|---|---|---|
label* | str | Installed extra/package name, surfaced in the title. |
| Name | Type |
|---|---|
| label | str |
Modal asking whether to restart the server after a successful install.
Dismisses with "restart" when the user accepts and "later" when the
user defers. Esc is treated as "later" so the user is never forced into a
restart they did not explicitly choose.