Hey there!
I recently read about the suggested approach to extending xarray here: Extending xarray
We have a lot of functions on xarray datasets that are domain-specific enough to spatial mosaics that I think I want to start using these.
One issue I am seeing so far is that when I use the accessor in jupyter notebook, the arguments and docs are inspected and returned, which makes it nice and usable. However, within vscode, it is unable to inspect the args. The side effect is slower development and no more type checking, which isn’t ideal.
Am I missing something here? Has anyone noticed this and is there an existing fix?
For example
## inside notebooks
ds.sp.my_function() # I can inspect as usual
## inside vscode
ds.sp.my_function() # I can not inspect the args or their types
I have seen sphinx-autosummary-accessors — sphinx-autosummary-accessors documentation, but that only seems relevant for doc generation.