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

Method __rich__

rich/_inspect.py:74–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 return title_text
73
74 def __rich__(self) -> Panel:
75 return Panel.fit(
76 Group(*self._render()),
77 title=self.title,
78 border_style="scope.border",
79 padding=(0, 1),
80 )
81
82 def _get_signature(self, name: str, obj: Any) -> Optional[Text]:
83 """Get a signature for a callable."""

Callers

nothing calls this directly

Calls 3

_renderMethod · 0.95
GroupClass · 0.85
fitMethod · 0.45

Tested by

no test coverage detected