Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhlongviolin1 committed Aug 5, 2024
1 parent 383b625 commit 58cf590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions taipy/gui/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def __filter_var_list(var_list: t.Iterable[str], excluded_attrs: t.Iterable[str]
return filter(lambda n: n not in excluded_attrs, var_list)

def __getattribute__(self, name: str) -> t.Any:
if name == "__class__":
return State
if name in State.__methods:
return super().__getattribute__(name)
gui: "Gui" = self.get_gui()
Expand Down

0 comments on commit 58cf590

Please sign in to comment.