mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add a missing type hint to TreeNode._expand
This commit is contained in:
@@ -159,7 +159,7 @@ class TreeNode(Generic[TreeDataType]):
|
||||
self._allow_expand = allow_expand
|
||||
self._updates += 1
|
||||
|
||||
def _expand(self, expand_all) -> None:
|
||||
def _expand(self, expand_all: bool) -> None:
|
||||
"""Mark a node as expanded (its children are shown).
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user