| 356 | |
| 357 | |
| 358 | class NoInteraction(Interaction): |
| 359 | def __init__(self, config: Config): |
| 360 | super().__init__(config) |
| 361 | |
| 362 | def confirm(self, s: str) -> bool: |
| 363 | return False |
| 364 | |
| 365 | def notify( |
| 366 | self, s: str, n: float = 10.0, wait_for_keypress: bool = False |
| 367 | ) -> None: |
| 368 | pass |
| 369 | |
| 370 | def file_prompt(self, s: str) -> str | None: |
| 371 | return None |
| 372 | |
| 373 | |
| 374 | class SourceNotFound(Exception): |