Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ Foo
Class
Foo
tests/test_protocol.py:9–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
8
9
class
Foo:
10
def
__rich__(self) -> Text:
11
return
Text(
"Foo"
)
12
13
14
def
test_rich_cast():
Callers
4
test_rich_cast
Function · 0.70
test_rich_cast_container
Function · 0.70
test_abc
Function · 0.70
__rich__
Method · 0.70
Calls
no outgoing calls
Tested by
4
test_rich_cast
Function · 0.56
test_rich_cast_container
Function · 0.56
test_abc
Function · 0.56
__rich__
Method · 0.56