INNER CODE UNIT · Python

state_tree

idoavrah/terraform-tui · src/tftui/app.py:132

    def state_tree(self) -> StateTree:
        """The state tree widget.

        Deliberately not named `tree`: `DOMNode.tree` is Textual's own DOM
        debugging view, and shadowing it breaks the devtools.
        """
        return self.query_one(f"#{TREE}", StateTree)

    @property
    def resource_view(self) -> ResourceView:
        return self.query_one(f"#{RESOURCE}", ResourceView)

    @property
    def plan_view(self) -> PlanView:
        return self.query_one(f"#{PLAN}", PlanView)

    @property
    def switcher(self) -> ContentSwitcher:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…