-
-
Notifications
You must be signed in to change notification settings - Fork 240
Pretty form #187
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
Pretty form #187
Conversation
@MKaras93 Awesome! Thanks. |
I've fixed the indent problem (caused by solving conflicts on GitHub), but locally tests stopped on |
Oh, I see it also fails on Python 3.5 because of f-strings. I will replace them with something else when I have some time. |
Yep |
@MKaras93 TestIgnoreOrderDelta is passing now if you merge dev into your branch. |
@seperman Ready to merge. |
@MKaras93 |
Hi @MKaras93 |
Hey @seperman
In the next comment you agreed to such implementation and that's why I implemented it this way. Regardless of that, in my opinion methods are good for this purpose, but it's possible that I don't understand the idea of views in deepdiff correctly. For me views are just different representation of the same object - just like python standard Or am I missing something here? Happy to discuss - as I said, I don't 100% understand the concept of views in deepdiff :) |
@MKaras93 Ah you are right. I did agree with that. Ok I will keep it a method. Views are currently different formats of representing the output and each one has its own features. The text view is the original output format but then some people were interested in having access to the tree of what objects were compared to what and traverse back to their ancestors etc. So it has way more capabilities than the text view. In my new PR, I'm adding a Delta view which is used for the new Delta module in DeepDiff. |
Feature requested in issue #85
Added method pretty_form() to DeepDiff class. Method returns a string with verbose description of changes, for example:
There is one text pattern for each available report_type.