Peter
07/22/2022, 6:29 AMReplForJupyterImpl with its many parameters (like MutableNotebook, RuntimeKernelProperties) ?Ilya Muradyan
07/22/2022, 9:46 AMorg.jetbrains.kotlinx.jupyter.repl.creating.createRepl insteadPeter
07/22/2022, 10:20 AMruntimeProperties = RuntimeKernelProperties(emptyMap()),
But then I get exceptions like:
java.lang.RuntimeException: Current branch is not specified!
at org.jetbrains.kotlinx.jupyter.RuntimeKernelProperties.getCurrentBranch(config.kt:73)
at org.jetbrains.kotlinx.jupyter.ReplForJupyterImpl.getCurrentBranch(repl.kt:193)
at org.jetbrains.kotlinx.jupyter.ReplForJupyterImpl.<init>(repl.kt:199)
at org.jetbrains.kotlinx.jupyter.repl.creating.ReplFactory.createRepl(ReplFactory.kt:18)Ilya Muradyan
07/22/2022, 11:46 AMIlya Muradyan
07/22/2022, 11:49 AMruntimeProperties propertyPeter
07/22/2022, 11:55 AMruntimeProperties = RuntimeKernelProperties(emptyMap())
What would the correct way to create an empty instance of ReplRuntimeProperties that I can use as a parameter to the createRepl (it is defined as non-null)?Ilya Muradyan
07/22/2022, 12:22 PMorg.jetbrains.kotlinx.jupyter.defaultRuntimeProperties
Alternatively, implement ReplRuntimeProperties interface and use this implementationPeter
07/22/2022, 1:08 PM