Skip to content
Discussion options

You must be logged in to vote

Where did you get the jason_tree.py example from? By the looks of things you're attempting to use the code from the main branch of Textual, with the library as of v0.10.1. The way that TreeNode is imported has changed so mixing and matching that code won't work. If you want to use the examples that work with v0.10.1 it's best to download either download the source for that release, or use the example from the v0.10.1 tag.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lovetox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1768 on February 11, 2023 13:38.