summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--polymatrix/expression/impl/parametrizeexprimpl.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/polymatrix/expression/impl/parametrizeexprimpl.py b/polymatrix/expression/impl/parametrizeexprimpl.py
index a1fca6e..3accf0c 100644
--- a/polymatrix/expression/impl/parametrizeexprimpl.py
+++ b/polymatrix/expression/impl/parametrizeexprimpl.py
@@ -3,7 +3,10 @@ from polymatrix.expression.parametrizeexpr import ParametrizeExpr
from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin
-@dataclass_abc.dataclass_abc(frozen=True, eq=False)
+@dataclass_abc.dataclass_abc(frozen=True, eq=False, repr=False)
class ParametrizeExprImpl(ParametrizeExpr):
underlying: ExpressionBaseMixin
name: str
+
+ def __repr__(self) -> str:
+ return f'{self.__class__.__name__}(name={repr(self.name)})'