result = dbutils.notebook.run("/Users/your_user/DataProcessing", 60, {"input_path": "/data/input.csv"})
print(result) # Prints the output of the called notebook
dbutils.widgets.text("input_path", "") # Creates a widget for the parameter
input_path = dbutils.widgets.get("input_path")
print(f"Processing file at: {input_path}")
we can use dbutils.notebook.run
result = dbutils.notebook.run("/Users/your_user/DataProcessing", 60, {"input_path": "/data/input.csv"}) print(result) # Prints the output of the called notebook
dbutils.widgets.text("input_path", "") # Creates a widget for the parameter input_path = dbutils.widgets.get("input_path") print(f"Processing file at: {input_path}")