Skip to content

Commit f05ce11

Browse files
committed
970
1 parent c7fcfbb commit f05ce11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sempy_labs/_helper_functions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,11 @@ def delete_item(
229229

230230
(workspace_name, workspace_id) = resolve_workspace_name_and_id(workspace)
231231
(item_name, item_id) = resolve_item_name_and_id(item, type, workspace_id)
232-
item_type = item_types.get(type)[0].lower()
233232

234233
fabric.delete_item(item_id=item_id, workspace=workspace_id)
235234

236235
print(
237-
f"{icons.green_dot} The '{item_name}' {item_type} has been successfully deleted from the '{workspace_name}' workspace."
236+
f"{icons.green_dot} The '{item_name}' {type} has been successfully deleted from the '{workspace_name}' workspace."
238237
)
239238

240239

0 commit comments

Comments
 (0)