42 string representation of pyaml objects#52
Conversation
…m:python-accelerator-middle-layer/pyaml into 42-string-representation-of-pyaml-objects
gubaidulinvadim
left a comment
There was a problem hiding this comment.
Great! It's a bit of a shame that we need essentially the same repr in all elements. I also think we should add str that will do mostly the same. Sometimes in pyAT, there's only str and no repr or only repr and no str and it is a bit annoying.
I will try to factorize all the repr() that are identical. I will try to put it in |
|
It is fine with only repr for me. |
This PR add string representation of various items.
I didn't add some test as it is just print.
outputs: