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
This can be traced to cases where the last argument of the function has a default value which contains a string, and there is no explicit docstring, e.g.:
It might also get messed up by the parsing in docstring::ClassMethodDocInject().
This has been the source of previous bugs.
I will check it this weekend.
Another (not directly related) thought of mine would be to change the __repr__ method of Device to output open3d.core.Device("CPU:0") instead of CPU:0 directly.
Currently, vscode displays the default value with stubs from pybind-stubgen as ..., since CPU:0 is not valid in Python.
The same goes for open3d.core.Dtype.
Originally posted by @timohl in #7136 (comment)
The last three lines in the Python API docs are corrupted in several functions e.g. for open3d.t.geometry.TriangleMesh.create_sphere:
This can be traced to cases where the last argument of the function has a default value which contains a string, and there is no explicit docstring, e.g.:
See analysis at #7136 (comment)
The text was updated successfully, but these errors were encountered: