diff options
Diffstat (limited to 'app/backends/__init__.py')
| -rw-r--r-- | app/backends/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/backends/__init__.py b/app/backends/__init__.py index 83f9866..63f0709 100644 --- a/app/backends/__init__.py +++ b/app/backends/__init__.py @@ -147,13 +147,16 @@ class BackendInfo: SETUP_SCREEN runs the setup wizard on an already-open curses screen (the hub's), returning 0 on completion and non-zero when aborted; the - hub calls it as one screen of its own ``tui.Wizard`` stack. + hub calls it as one screen of its own ``tui.Wizard`` stack. UNINSTALL + removes the backend (stops its servers, pip-uninstalls, deletes its + files); the hub runs it inside the task view, calling it with optional + ``emit``/``cancel`` keywords (cancel honored between phases only). """ key: str label: str detect: Callable[[], BackendStatus] setup_screen: Callable[[object], int] - uninstall: Callable[[], int] = lambda: 0 + uninstall: Callable[..., int] = lambda *args, **kwargs: 0 REGISTRY: List[BackendInfo] = [] |
