MCPcopy
hub / github.com/Textualize/rich / __rich_console__

Method __rich_console__

tests/test_console.py:894–896  ·  view source on GitHub ↗
(self, console, options)

Source from the content-addressed store, hash-verified

892 # https://github.com/Textualize/rich/issues/2042
893 class Panels:
894 def __rich_console__(self, console, options):
895 yield Panel("foo")
896 yield Panel("bar")
897
898 console = Console(
899 force_terminal=True,

Callers 2

test_rich_consoleFunction · 0.45
test_rich_consoleFunction · 0.45

Calls 1

PanelClass · 0.90

Tested by

no test coverage detected