diff --git a/optionsfactory/withmeta.py b/optionsfactory/withmeta.py index 8184909..8d468e8 100644 --- a/optionsfactory/withmeta.py +++ b/optionsfactory/withmeta.py @@ -132,6 +132,9 @@ def __eq__(self, other): ) def __str__(self): + return self.__repr__() + + def __repr__(self): return ( f"WithMeta({self.value}, doc={self.doc}, value_type={self.value_type}), " f"allowed={self.allowed}, check_all={self.check_all}, "