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
The ``prefix`` may also be a callable function. This function must accept ``**kwargs``; as of this version, the only parameter is ``diff`` but the signature allows for future expansion.
312
+
The ``diff`` given will be the ``DeepDiff`` that ``pretty`` was called on; this allows interesting capabilities such as:
313
+
>>> from deepdiff import DeepDiff
314
+
>>> t1={1,2,4}
315
+
>>> t2={2,3}
316
+
>>> defcallback(**kwargs):
317
+
... """Helper function using a hidden variable on the diff that tracks which count prints next"""
0 commit comments