In a Databricks brick, I am running this:
functions_notebooks = ["../functions/other_functions",
"../functions/general_functions"]
for notebook in functions_notebooks:
dbutils.notebook.run(notebook, 60)
variable1, variable2, variable3 = function1_other_functions()
However, it cannot find the function. the status of the run is Succeeded for both notebooks. If I call the notebooks by separate in different bricks, which is impractical, then the functions work without issues.
The error is:
NameError: name 'function1_other_functions' is not defined