Currently, I'm looking to figure out how to use a remotely started kernel invoked by IPython.start_kernel or IPython.embed_kernel on a Jupyter front end.
However, code completion didn't work and I think it's because the code completer (of the local kernel running on the Jupyter) couldn't recognize the namespace residing on the remote kernel process.
The question is:
What should I do for the local code completer to know the namespace on the remotely started kernel so code completion for the namespace on the remote kernel can seamlessly work?
Currently, I'm looking to figure out how to use a remotely started kernel invoked by
IPython.start_kernel
orIPython.embed_kernel
on a Jupyter front end.I think the approach at https://stackoverflow.com/a/76276431/5390999 is cool and I could execute an arbitrary code on a remotely started kernel from cells on a Jupyter Lab.
However, code completion didn't work and I think it's because the code completer (of the local kernel running on the Jupyter) couldn't recognize the namespace residing on the remote kernel process.
The question is: What should I do for the local code completer to know the namespace on the remotely started kernel so code completion for the namespace on the remote kernel can seamlessly work?