This only works in Databricks. With this you are able to run a notebook from within a Python cell
try:
status_adls2dbfs = dbutils.notebook.run("pre_proc/adls2dbfs", 1000, {"db_name": db_name})
print("success")
#logger.info('success')
except Exception as e:
print("failed to run notebook")
#logger.error('failed to run notebook' +str(e))
raise