INNER CODE UNIT · Python
resource_view
idoavrah/terraform-tui · src/tftui/app.py:141
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:
return self.query_one("#switcher", ContentSwitcher)
@property
def search_input(self) -> Input:
return self.query_one("#search", Input)
@property
def view(self) -> str:
return self.switcher.current or TREE