Skip to content

Commit 3a5c8e4

Browse files
committed
fix: remove unused parameter from _get_protected_snapshot_ids method
1 parent 6cf08b5 commit 3a5c8e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/table/maintenance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def expire_snapshots_with_retention_policy(
259259
if snapshots_to_expire:
260260
self._expire_snapshots_by_ids(snapshots_to_expire)
261261

262-
def _get_protected_snapshot_ids(self, table_metadata: TableMetadata) -> Set[int]:
262+
def _get_protected_snapshot_ids(self) -> Set[int]:
263263
"""Get the IDs of protected snapshots.
264264
265265
These are the HEAD snapshots of all branches and all tagged snapshots.

0 commit comments

Comments
 (0)