mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Remove TreeNode as a pseudo-widget
This encourages importing it from `textual.widgets.tree` instead, keeping it in line with the other changes made for #1637. Note this is a breaking change.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import pytest
|
||||
from textual.widgets import Tree, TreeNode
|
||||
from textual.widgets import Tree
|
||||
from textual.widgets.tree import TreeNode
|
||||
|
||||
|
||||
def label_of(node: TreeNode[None]):
|
||||
|
||||
Reference in New Issue
Block a user