Skip to content

Instantly share code, notes, and snippets.

@jeanmidevacc
Last active July 21, 2025 20:50
Show Gist options
  • Save jeanmidevacc/22b538b82bc181d9834289b42f368914 to your computer and use it in GitHub Desktop.
Save jeanmidevacc/22b538b82bc181d9834289b42f368914 to your computer and use it in GitHub Desktop.
This is a collection of dbutils functions that I used
# Secrets module
dbutils.secrets.get(scope="", key="") # Function ot fetch secret to vault link to DBX instance
# Widgets module
dbutils.widgets.text("","")# Function to create a text input widget with a given name and default value
dbutils.widgets.get("") # Function to retrieve current value of an input widget
# notebook module
dbutils.notebook.exit() # Function to exit properly a notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment