Revert config eq

This commit is contained in:
anton-l 2022-06-14 11:43:05 +02:00
parent 3979f6eaa4
commit d10441d877
1 changed files with 4 additions and 4 deletions

View File

@ -225,11 +225,11 @@ class ConfigMixin:
text = reader.read()
return json.loads(text)
# def __eq__(self, other):
# return self.__dict__ == other.__dict__
def __eq__(self, other):
return self.__dict__ == other.__dict__
# def __repr__(self):
# return f"{self.__class__.__name__} {self.to_json_string()}"
def __repr__(self):
return f"{self.__class__.__name__} {self.to_json_string()}"
@property
def config(self) -> Dict[str, Any]: