Added the possibility to use custom labels instead of 'old' and 'new'
Compare changes
This is related to: caosdb-advanced-user-tools#77 (moved)
It introduces two arguments for describe_diff
that allow setting custom labels instead
of 'old' and 'new' in the difference string representation.
Furthermore, I added docstrings and type hints.
I have added a unit test to test the function (specifically the new feature).
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.