- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2022 04:53 AM
I know the dbutils.widget.text to create a widget in a notebook. So for me the workflow
1. Having a notebook
2. Use dbutils.widget.text (or other type of widgets) once in a notebook cell to create a widget
3. Remove the cell containing dbutils.widget.text (because it's not usefull anymore)
4. Use dbutils.widget.get permanently in the notebook
Now I want to automate the following. I deploy a Jupyter notebook from a repo to a databricks workspace programmatically (using Azure devops). The deployment works fine using Databricks APIs, but only one thing is missing for me, the widget creation. Because manually creating the widget requires executing the cells with the widget.text call, how can I do that without having to run the cell manually, then remove it then come back to continue the deployment process.
- Labels:
-
Azure devops integration
-
Notebook
-
Widget