Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ __rich__
Method
__rich__
tests/test_protocol.py:55–56 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
53
def
test_cast_deep():
54
class
B:
55
def
__rich__(self) -> Foo:
56
return
Foo()
57
58
class
A:
59
def
__rich__(self) -> B:
Callers
2
test_rich_cast
Function · 0.45
test_rich
Function · 0.45
Calls
2
A
Class · 0.85
Foo
Class · 0.70
Tested by
no test coverage detected