Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirPodolian committed Jan 26, 2025
1 parent 30b7c0e commit 6057212
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mops/mixins/internal_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from mops.utils.internal_utils import (
get_child_elements_with_names,
get_child_elements,
get_all_attributes_from_object,
)


Expand Down Expand Up @@ -56,7 +55,7 @@ def _set_static(self: Any, cls) -> None:

for name, item in data:
cls = self.__class__
if not hasattr(cls, name):
if name not in cls.__dict__:
setattr(cls, name, item)

def _repr_builder(self: Any):
Expand Down

0 comments on commit 6057212

Please sign in to comment.