fixed pickling issue

This commit is contained in:
Benoît Sierro
2023-08-09 13:54:28 +02:00
parent e46727a0cf
commit 54cfb48a36

View File

@@ -457,7 +457,6 @@ class Parameters:
self._param_dico = dict() self._param_dico = dict()
for k, v in dumped_dict.items(): for k, v in dumped_dict.items():
setattr(self, k, v) setattr(self, k, v)
self.__post_init__()
def __setattr__(self, k, v): def __setattr__(self, k, v):
if self.frozen and not k.endswith("_file"): if self.frozen and not k.endswith("_file"):