INNER CODE UNIT · Python

__init__

VisionForge-OU/foreman · src/foreman/tui/app.py:173

    def __init__(self):
        super().__init__()
        self.selected: Optional[str] = None

    def compose(self) -> ComposeResult:
        yield Header()
        with Horizontal():
            yield ListView(id="wlist")
            with VerticalScroll(id="wlog"):
                yield Static(id="logbody")
        yield Footer()

    def on_mount(self) -> None:
        self.set_interval(0.3, self.refresh_workers)
        self.refresh_workers()

    @staticmethod
    def _worker_label(iid: str, w) -> str:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…