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

Class Thing

tests/test_pretty.py:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 console = Console(file=io.StringIO(), force_jupyter=True)
67
68 class Thing:
69 def _repr_html_(self):
70 return "hello"
71
72 console.begin_capture()
73 _ipy_display_hook(Thing(), console=console)

Calls

no outgoing calls