(
self, console: Console, options: ConsoleOptions
)
| 641 | return Measurement(self._numbers_column_width, width) |
| 642 | |
| 643 | def __rich_console__( |
| 644 | self, console: Console, options: ConsoleOptions |
| 645 | ) -> RenderResult: |
| 646 | segments = Segments(self._get_syntax(console, options)) |
| 647 | if any(self.padding): |
| 648 | yield Padding(segments, style=self._get_base_style(), pad=self.padding) |
| 649 | else: |
| 650 | yield segments |
| 651 | |
| 652 | def _get_syntax( |
| 653 | self, |
nothing calls this directly
no test coverage detected