We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2319d7a commit a41b71bCopy full SHA for a41b71b
src/webapp/routers/models.py
@@ -315,10 +315,8 @@ def read_inst_model(
315
def delete_model(
316
inst_id: str,
317
model_name: str,
318
- delete_from_databricks: bool,
319
current_user: Annotated[BaseUser, Depends(get_current_active_user)],
320
sql_session: Annotated[Session, Depends(get_session)],
321
- databricks_control: Annotated[DatabricksControl, Depends(DatabricksControl)],
322
) -> Any:
323
transformed_model_name = str(decode_url_piece(model_name)).strip()
324
has_access_to_inst_or_err(inst_id, current_user)
@@ -346,7 +344,6 @@ def delete_model(
346
344
return {
347
345
"inst_id": inst_id,
348
"model_name": transformed_model_name,
349
- "deleted_from_databricks": delete_from_databricks,
350
}
351
352
0 commit comments