summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polymatrix/expression/impl/expressionimpl.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/polymatrix/expression/impl/expressionimpl.py b/polymatrix/expression/impl/expressionimpl.py
index ab1da5d..6f140b5 100644
--- a/polymatrix/expression/impl/expressionimpl.py
+++ b/polymatrix/expression/impl/expressionimpl.py
@@ -3,6 +3,9 @@ from polymatrix.expression.expression import Expression
from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin
-@dataclass_abc.dataclass_abc(frozen=True)
+@dataclass_abc.dataclass_abc(frozen=True, repr=False)
class ExpressionImpl(Expression):
underlying: ExpressionBaseMixin
+
+ def __repr__(self) -> str:
+ return self.underlying.__repr__()