(self)
| 463 | self._watching = False |
| 464 | |
| 465 | def state(self) -> Dict[str, Any]: |
| 466 | with self.lock: |
| 467 | state = self.parser.to_dict() |
| 468 | state["log_path"] = str(self.path) |
| 469 | state["log_missing"] = self.missing |
| 470 | return state |
| 471 | |
| 472 | def emit_full_state(self, sid: str) -> None: |
| 473 | self.socketio.emit("full_state", self.state(), to=sid) |
no test coverage detected