From b49f037534d101c9f8b271080ac540ff3d8f61d2 Mon Sep 17 00:00:00 2001 From: Austin Zaccor Date: Fri, 10 Nov 2023 08:50:54 -0800 Subject: [PATCH] Update Export_Experiment.py The `get_notebook_formats()` function does not exist in common.py so this doesn't run as is. It does run fine if you remove references to `get_notebook_formats()` so we can either add this to common.py or remove it from the notebooks. Signed-off-by: Austin Zaccor --- databricks_notebooks/single/Export_Experiment.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/databricks_notebooks/single/Export_Experiment.py b/databricks_notebooks/single/Export_Experiment.py index 88745b13..bba0868a 100644 --- a/databricks_notebooks/single/Export_Experiment.py +++ b/databricks_notebooks/single/Export_Experiment.py @@ -53,15 +53,12 @@ dbutils.widgets.dropdown("4. Export permissions","no",["yes","no"]) export_permissions = dbutils.widgets.get("4. Export permissions") == "yes" -notebook_formats = get_notebook_formats(5) - if run_start_date=="": run_start_date = None print("experiment_id_or_name:", experiment_id_or_name) print("output_dir:", output_dir) print("run_start_date:", run_start_date) print("export_permissions:", export_permissions) -print("notebook_formats:", notebook_formats) # COMMAND ---------- @@ -99,8 +96,7 @@ experiment_id_or_name = experiment.experiment_id, output_dir = output_dir, run_start_time = run_start_date, - export_permissions = export_permissions, - notebook_formats = notebook_formats + export_permissions = export_permissions ) # COMMAND ----------