Arrange for the bpython display to be refreshed soon. This method will be called when the Repl wants to refresh the display, but wants control returned to it afterwards. (it is assumed that simply returning from process_event will cause an event refresh) The very ne
(self)
| 504 | # The methods below must be overridden in subclasses. |
| 505 | |
| 506 | def _request_refresh(self): |
| 507 | """Arrange for the bpython display to be refreshed soon. |
| 508 | |
| 509 | This method will be called when the Repl wants to refresh the display, |
| 510 | but wants control returned to it afterwards. (it is assumed that simply |
| 511 | returning from process_event will cause an event refresh) |
| 512 | |
| 513 | The very next event received by process_event should be a |
| 514 | RefreshRequestEvent.""" |
| 515 | raise NotImplementedError |
| 516 | |
| 517 | def _request_reload(self, files_modified: Sequence[str]) -> None: |
| 518 | """Like request_refresh, but for reload requests events.""" |