diff --git a/chanfig/flat_dict.py b/chanfig/flat_dict.py index e877b029..47d70565 100644 --- a/chanfig/flat_dict.py +++ b/chanfig/flat_dict.py @@ -1148,6 +1148,9 @@ def _add_indent(self, text: str) -> str: text = first + "\n" + text return text + def __hash__(self): + return hash(frozenset(self.items())) + def __getstate__(self, *args, **kwargs): return self.__dict__