Check if server process is running.
(self)
| 284 | return None |
| 285 | |
| 286 | def is_running(self) -> bool: |
| 287 | """Check if server process is running.""" |
| 288 | if self.process is not None: |
| 289 | return self.process.poll() is None |
| 290 | # If no process but _started is True, check if port is responding |
| 291 | if self._started: |
| 292 | return self._check_health() |
| 293 | return False |
| 294 | |
| 295 | |
| 296 | class ModelLoader: |
no test coverage detected