Skip to content

Commit

Permalink
fix: use getattribute (#1739)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Nov 17, 2023
1 parent 5dfc733 commit e06bec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape/utils/basemodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def __getattr__(self, name: str) -> Any:
"""

try:
return super().__getattr__(name)
return super().__getattribute__(name)
except AttributeError:
extras_checked = set()
for ape_extra in self.__ape_extra_attributes__():
Expand Down

0 comments on commit e06bec7

Please sign in to comment.