Skip to content

Commit a41b71b

Browse files
committed
fix: removed query results not needed
1 parent 2319d7a commit a41b71b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/webapp/routers/models.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,8 @@ def read_inst_model(
315315
def delete_model(
316316
inst_id: str,
317317
model_name: str,
318-
delete_from_databricks: bool,
319318
current_user: Annotated[BaseUser, Depends(get_current_active_user)],
320319
sql_session: Annotated[Session, Depends(get_session)],
321-
databricks_control: Annotated[DatabricksControl, Depends(DatabricksControl)],
322320
) -> Any:
323321
transformed_model_name = str(decode_url_piece(model_name)).strip()
324322
has_access_to_inst_or_err(inst_id, current_user)
@@ -346,7 +344,6 @@ def delete_model(
346344
return {
347345
"inst_id": inst_id,
348346
"model_name": transformed_model_name,
349-
"deleted_from_databricks": delete_from_databricks,
350347
}
351348

352349

0 commit comments

Comments
 (0)