Commit 08f62b23 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fix __repr__

parent f4646d49
Pipeline #75641 failed with stages
in 13 minutes and 24 seconds
......@@ -351,7 +351,9 @@ class _ConstantOperator(Operator):
return self._output
def __repr__(self):
return 'ConstantOperator <- {}'.format(self.domain.keys())
dom = self.domain.keys() if isinstance(self.domain, MultiDomain) else '()'
tgt = if isinstance(, MultiDomain) else '()'
return f'{tgt} <- ConstantOperator <- {dom}'
class _FunctionApplier(Operator):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment