napari-process-points-and-surfaces icon indicating copy to clipboard operation
napari-process-points-and-surfaces copied to clipboard

Deprecation messages in docstrings

Open haesleinhuepf opened this issue 2 years ago • 2 comments
trafficstars

It would be good if the docstrings of open3d-based functions would mention their replacements.

haesleinhuepf avatar Feb 23 '23 18:02 haesleinhuepf

Regarding this, I saw a nice technique on how this is done at vedo: There, the deprecation warning is implemented as a decorator that doesn't do anything besides printing the name of the decorated function and the deprecation warning.

jo-mueller avatar Mar 03 '23 07:03 jo-mueller

Even easier: It's actually a python package

jo-mueller avatar Mar 07 '23 07:03 jo-mueller