You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very hard to read and could lead to debug errors. It would be great to mimic the output we get if we use an external library like pprint. So, something like this,
A custom __str__ dunder method would need to be added to the ExecutionConfig class (found here). External libraries like pprint can be used to assist in the formatting of the string.
Please note that some of our tests rely on parsing the string representation of the execution configuration to ensure correct behaviour. This feature will most likely involve modifying some tests to account for the new visualization.
The text was updated successfully, but these errors were encountered:
Feature details
Currently we have,
This is very hard to read and could lead to debug errors. It would be great to mimic the output we get if we use an external library like
pprint
. So, something like this,Very easy to read! 🥰
Implementation
A custom
__str__
dunder method would need to be added to theExecutionConfig
class (found here). External libraries likepprint
can be used to assist in the formatting of the string.E.g. something like this should work.
How important would you say this feature is?
1: Not important. Would be nice to have.
Additional information
Please note that some of our tests rely on parsing the string representation of the execution configuration to ensure correct behaviour. This feature will most likely involve modifying some tests to account for the new visualization.
The text was updated successfully, but these errors were encountered: