Skip to content

Commit 937d16a

Browse files
committed
fixed subscriptable error when converting from tuple to list.
1 parent 99c8878 commit 937d16a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyiceberg/cli/console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def delete_files(
218218
for item in file_paths:
219219
file_paths_list.append(item)
220220

221-
table.delete_files(file_paths=list(file_paths), branch=branch or MAIN_BRANCH, snapshot_properties=snapshot_properties)
221+
table.delete_files(file_paths=file_paths_list, branch=branch or MAIN_BRANCH, snapshot_properties=snapshot_properties)
222222
output.text(f"Deleted {len(file_paths)} file(s) from {identifier}")
223223

224224

0 commit comments

Comments
 (0)