Skip to content

Pretty Difference output mode? #85

Closed
@dbrrt

Description

@dbrrt

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions