Skip to content

Commit 1cac992

Browse files
committed
Removed unused instance variable.
1 parent 4a1b9a3 commit 1cac992

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

pyiceberg/table/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,10 +1076,7 @@ def manage_snapshots(self) -> ManageSnapshots:
10761076
return ManageSnapshots(transaction=Transaction(self, autocommit=True))
10771077

10781078
def expire_snapshots(self) -> ExpireSnapshots:
1079-
"""
1080-
Shorthand to run expire snapshots by id or by a timestamp.
1081-
1082-
"""
1079+
"""Shorthand to run expire snapshots by id or by a timestamp."""
10831080
return ExpireSnapshots(transaction=Transaction(self, autocommit=True))
10841081

10851082
def update_statistics(self) -> UpdateStatistics:

pyiceberg/table/update/snapshot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,6 @@ class ManageSnapshots(UpdateTableMetadata["ManageSnapshots"]):
741741
ms.create_tag(snapshot_id1, "Tag_A").create_tag(snapshot_id2, "Tag_B")
742742
"""
743743

744-
_snapshot_ids_to_expire: Set[int] = set()
745744
_updates: Tuple[TableUpdate, ...] = ()
746745
_requirements: Tuple[TableRequirement, ...] = ()
747746

0 commit comments

Comments
 (0)