I have a synapse notebook with parameters .I am trying to call that notebook from another notebook. I am using %run command.
How should I pass the parameters from the base notebook to the one that is being called?
I have a synapse notebook with parameters .I am trying to call that notebook from another notebook. I am using %run command.
How should I pass the parameters from the base notebook to the one that is being called?
Also, for me the above answers didn't work.
As a separate solution to this, below is an answer.
- Open the notebook and go to the properties tab on extreme right adjacent to 3 dots.
- Check "Enable Unpublish Notebook reference."
- Commit all changes.
Now, you will be able to use both %run
and mssparkutils
command.
at this time you should first import an library
from notebookutils import mssparkutils
mssparkutils.notebook.run('yourfolder/yournotebook')
Can you use Python and follow the example shown here?
mssparkutils.notebook.run("folder/Sample1", 90, {"input": 20 })