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
I think it would be nice to have __repr__ of CfgNode have a prettier print, which has one field per line with proper indentation. It currently prints everything in a single line (as is the default for dict), and makes searching for specific arguments a bit difficult.
While it's possible to use external libraries like pprint to achieve this, I think that having it built-in would be valuable.
I think it would be nice to have
__repr__
ofCfgNode
have a prettier print, which has one field per line with proper indentation. It currently prints everything in a single line (as is the default fordict
), and makes searching for specific arguments a bit difficult.While it's possible to use external libraries like
pprint
to achieve this, I think that having it built-in would be valuable.A possible draft implementation:
The text was updated successfully, but these errors were encountered: