mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add a docstring for EventTreeDataType
This commit is contained in:
@@ -32,6 +32,11 @@ TreeDataType = TypeVar("TreeDataType")
|
||||
"""The type of the data for a given instance of a [Tree][textual.widgets.Tree]."""
|
||||
|
||||
EventTreeDataType = TypeVar("EventTreeDataType")
|
||||
"""The type of the data for a given instance of a [Tree][textual.widgets.Tree].
|
||||
|
||||
Similar to [TreeDataType][textual.widgets._tree.TreeDataType] but used for
|
||||
``Tree`` messages.
|
||||
"""
|
||||
|
||||
LineCacheKey: TypeAlias = "tuple[int | tuple, ...]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user