Add a missing type hint to TreeNode._expand

This commit is contained in:
Dave Pearson
2023-01-23 20:56:09 +00:00
parent a3c7430f4a
commit 2ac3a03471

View File

@@ -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: