What does the "instance" actually effect?
1. Do changes (imported packages) persist when an instance is restarted?
2. Does code persist across instances to different users, or is the notebook itself what is persisting the code?
-
1) When creating a notebook, any installation of packages that need to be persisted across kernel restarts should be added in the Initialization section. This will ensure every time, the init script will run when ever notebook instance is created. Any installation of packages happening directly in notebook code will be applicable only for that instance of the notebook kernel that is running.
2) Code is persisted in EventStore (S3 or GCS buckets) under the corresponding user folders.
Please sign in to leave a comment.
Comments
1 comment