Importing notebook #!import #2426
-
I was trying out #!import other day and it works fine. In the above screenshot you can see that I am using RunSQL function that is defined in the "SQL 4 CDS Main" notebook. I find this a bit clunky. Is there are anyway to generate a magic command on the fly when the parent notebook is referenced and executed on the child notebook, or offload the cell execution to the parent notebook for specific types of cells? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can add magic commands or subkernels on the fly. For more information on how to add options and so on to the magic command, have a look at the System.CommandLine documentation: https://learn.microsoft.com/en-us/dotnet/standard/commandline/ |
Beta Was this translation helpful? Give feedback.
You can add magic commands or subkernels on the fly.
For more information on how to add options and so on to the magic command, have a look at the System.CommandLine documentation: https://learn.microsoft.com/en-us/dotnet/standard/commandline/