MCPcopy
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
9class Foo:
10 def __rich__(self) -> Text:
11 return Text("Foo")
12
13
14def test_rich_cast():

Callers 4

test_rich_castFunction · 0.70
test_rich_cast_containerFunction · 0.70
test_abcFunction · 0.70
__rich__Method · 0.70

Calls

no outgoing calls

Tested by 4

test_rich_castFunction · 0.56
test_rich_cast_containerFunction · 0.56
test_abcFunction · 0.56
__rich__Method · 0.56