Q & A
Governance & Security
Learn Dataiku DSS
Q & A
Ask a Question
Email or Username
I forgot my password
Do I need to restart dss everytime I modify a custom library ?
I think I'm doing something wrong. Every single time I update a library or create one and before I can use said library I have to 'dss restart' before I can use the (updated) librarie in a notebook (come to think of it , I haven't checked on a python recipe) .
If I don't restart ,the import will fail for a new custom lib , or the any code update would be ignored.
As you can imagine , it is problematic when I'm working on a notebook while a heavy job is running , dss restart would just kill the job.
So I guess my question would be : 'is there another way to get lib changes taken into account into a notebook ?'
If not I'd recommand some changes to be implemented because as much as the custom lib helps by not having to copy functions in each and every notebooks/recipe in a project , the need to restart dss (not just the kernel) kind of defeat at least partly the gain to the point that I sometime won't use the feature.
Thank you in advance for your answer !
Also when I dss restart with an open notebook , the kernel takes ages to reinitialize after the restart is complete (but that is far less an issue than the previous one).
Precision : I'm talking about using the 'librairies' feature in the 'notebook' section of a project
to add a comment.
to answer this question.
You only need to restart the notebook itself. Either from the notebook: File > Close and Halt, or from the notebooks list, click on the yellow X to unload the notebook
ask related question
As it happens, restarting kernel does not suffice in my case, yet 'close and halt' followed by reopening does (go figure). So all's well and all that.
to add a comment.
Most popular tags
How to import the seaborn python library (based on matplotlib) in a RMarkdown report?
Shared library history
How do I import an IPython notebook?
Do i need to have python or R installed on local machine to run Dataiku?
How am I able to change notebook's kernel from Python2 to Python3?
Welcome to Dataiku Answers, where you can ask questions and receive answers from other members of the community.
©Dataiku 2012-2018 -