-
-
Notifications
You must be signed in to change notification settings - Fork 240
Pretty Difference output mode? #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @dbrrt Would you be interested in making a PR for it? Basically this is going to be another "view". We have the "text" view and "tree" view already. This can be the "pretty" view. If you have time to make a PR for it, that would be great! Thanks |
Hi @seperman, As for how the text should be printed I was thinking something like this: I think this format will fit very nicely together with bdd tools such as behave and pytest-bdd. |
Hi @simonfontana |
@seperman |
👍 |
Hi @seperman is this still open? |
@MKaras93 seems to be. Still a very desirable feature :) |
Reserved then, I will try to post a PR by the end of the weekend (maybe even today) :) |
👍 |
Hi @dbrrt @MKaras93 |
I was wondering if a pretty output wouldn't be a nice addon to the library.
Something more human readable ?
For instance the below :
{'type_changes': {"root['a']['b']['c']": {'old_type': <type 'str'>, 'new_value': 42, 'old_value': 'foo', 'new_type': <type 'int'>}}}
could be replaced with something like :
type_changes for a.b.c, "foo" (string type) replaced by 42 (integer type)
Creating a wrapper for the library doesn't seem like the best way to overcome this, as a new update of the core library could break the wrapper.
The text was updated successfully, but these errors were encountered: