Dior
New Contributor II

Using dbutils.notebook api helped with this. The command follows this syntax:

dbutils.notebook.run("notebook", "timeout_secounds", {"widget_value": " "})

To get a variable in there just do this:

x = "value"

dbutils.notebook.run("run_weekly_notebook", 60, {"stores_available": f"{x}"})