Pholo
Contributor

have you tried the widgets utils from databricks?

https://docs.microsoft.com/en-us/azure/databricks/notebooks/widgets

dbutils.widgets.text("database", "dev")
 
database_def = dbutils.widgets.getArgument("database")
print(database_def)

You can parametrize it when you run the scripts.