Skip to content

Commit 1e94c52

Browse files
authored
Make next_sequence_number private (#62)
We should only use this in the table module
1 parent a53b6b5 commit 1e94c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/table/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ def location(self) -> str:
533533
def last_sequence_number(self) -> int:
534534
return self.metadata.last_sequence_number
535535

536-
def next_sequence_number(self) -> int:
536+
def _next_sequence_number(self) -> int:
537537
return INITIAL_SEQUENCE_NUMBER if self.format_version == 1 else self.last_sequence_number + 1
538538

539539
def new_snapshot_id(self) -> int:

0 commit comments

Comments
 (0)