Skip to content

Commit bd6cafe

Browse files
committed
feat: added model deletion endpoint
1 parent 94824d1 commit bd6cafe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webapp/databricks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def delete_model(self, catalog_name: str, inst_name: str, model_name: str):
554554
try:
555555
w.registered_models.delete(full_name=model_name_path)
556556
LOGGER.info("Deleted registration model: %s", model_name_path)
557-
except Exception as e:
557+
except Exception:
558558
LOGGER.exception("Failed to delete registered model: %s", model_name_path)
559559
raise
560560

0 commit comments

Comments
 (0)