I thought this was a documentation issue but it seems it’s more than that.
The documentation is as follows:
openOperatorSnippets(family=None, type=None, example=None)
If following the above you get an error and snippets doesn’t open.
The following is correct syntax wise and opens snippets to the correct example but there’s a TD internal error.
openOperatorSnippets(optype=None, example=None)
I think the ui class might just be passing family= and type= to the op snippets component but snippets is expecting optype and example. Someone probably updated the snippets component to the new version but the UI class was left behind somehow.
Example scripts attached
base_snippets_errors.tox (8.9 KB)