MCPcopy
hub / github.com/Textualize/textual / compose

Method compose

tests/test_data_bind.py:18–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 bar = reactive("Bar")
17
18 def compose(self) -> ComposeResult:
19 yield FooLabel(id="label1").data_bind(foo=DataBindApp.bar)
20 yield FooLabel(id="label2") # Not bound
21
22
23async def test_data_binding():

Callers

nothing calls this directly

Calls 2

FooLabelClass · 0.85
data_bindMethod · 0.80

Tested by

no test coverage detected