mkolonay
New Contributor II

Thanks for the quick response.

Your suggestion is essentially what we are currently doing. We have a config file for each environment that is used to create all the widgets. In the first cell of our notebooks, we call a script to create the widgets using the correct config file. Again, we only do this in our feature environments where our developers are working manually through the notebooks, the higher environments values are set in the workflow.

There is more going on around it but when you boil it down, we are doing this:

for key, value in config.items():
     dbutils.widgets.text(key,value)

Once I run the dbutils.widgets.text() I see changes in source control, check the attachment for an example.

Thanks!