Skip to content

Commit

Permalink
satisfy typing
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Nov 28, 2024
1 parent f07b6be commit 3f9fac4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion traitlets/utils/bunch.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def __setattr__(self, key: str, value: Any) -> None:
self.__setitem__(key, value)

def __dir__(self) -> list[str]:
names = super().__dir__()
names: list[str] = []
names.extend(super().__dir__())
names.extend(self.keys())
return names

0 comments on commit 3f9fac4

Please sign in to comment.