Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/textual
/ compose
Method
compose
tests/test_screen_modes.py:56–60 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
54
BINDINGS = [(
"d"
,
"dismiss_fruit"
,
"Dismiss"
)]
55
56
def
compose(self) -> ComposeResult:
57
FRUITS = cycle(
58
"apple mango strawberry banana peach pear melon watermelon"
.split()
59
)
60
yield
Label(next(FRUITS))
61
62
63
@pytest.fixture
Callers
nothing calls this directly
Calls
2
Label
Class · 0.90
split
Method · 0.45
Tested by
no test coverage detected