Skip to content

Commit

Permalink
fix super call for override
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Jan 17, 2025
1 parent 126b040 commit c265115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axolotl/utils/dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __setitem__(self, name, value):

if isFrozen and name not in super().keys():
raise KeyError(name)
super().__setitem__(name, value)
super(Dict, self).__setitem__(name, value) # pylint: disable=bad-super-call
try:
p = object.__getattribute__(self, "__parent")
key = object.__getattribute__(self, "__key")
Expand Down

0 comments on commit c265115

Please sign in to comment.