Skip to content

Commit c8908aa

Browse files
committed
fix if statment
1 parent 1c1533a commit c8908aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/table/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def position_deletes(self, snapshot_id: Optional[int] = None) -> "pa.Table":
769769
schema = self._get_positional_deletes_schema()
770770
return pa.Table.from_pylist([], schema=schema)
771771

772-
if snapshot.schema_id == None:
772+
if snapshot.schema_id is None:
773773
raise ValueError(f"Snapshot {snapshot.snapshot_id} does not have a schema id")
774774

775775
schemas = self.tbl.schemas()

0 commit comments

Comments
 (0)