Using widget values in a shell script cell

fijoy
Contributor

I have a Databricks notebook containing a mix of SQL, Python, and shell script cells. I know I can retrieve and use values of widgets in Python cells using dbutils.widgets.get('key') and in SQL cells using ${key}.

How can I use widget values in shell script cells?

fijoy
Contributor

For those interested, I found and am for now using this workaround:

https://stackoverflow.com/questions/54662605/how-to-pass-a-python-variables-to-shell-script-in-azure...

while I wait for a more direct method.

View solution in original post