0 votes

When I update recipes and/or the paramsTemplate file and the update my plugin via zip file, all changes are reflected immediately.

However any changes done to the paramsPythonSetup file is not reflected at all without creating a new plugin.

How do I make the plugin reflect my paramsPythonSetup updates?

asked by

1 Answer

+1 vote
Best answer

the code from paramsPythonSetup is used to start a Python process that your plugin setup code talks to through the DSS backend. This process is held in sessions, so they need to be reloaded or recreated to take changes to the Python code into account. Your options are :

- waiting 5min (the sessions expire after this time)

- depending on the plugin component you develop, reloading the setup page of the component may trigger the creation of a new session

There are additionally 2 methods that work as of today, but may stop working without notice since they are purely debug options:

- type the following in your browser bar and press enter

javascript:angular.element("form[name='customConfigForm']").scope().uiInteraction.sessionId = null

- use the debug shortcut (anywhere in the screen, except in a text field, obviously) : @ r c d

 

answered by
selected by
972 questions
998 answers
1,047 comments
2,370 users

┬ęDataiku 2012-2018 - Privacy Policy