Skip to content

Commit 9d42fae

Browse files
committed
fix if statment
1 parent e4ed25e commit 9d42fae

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
@@ -722,7 +722,7 @@ def position_deletes(self, snapshot_id: Optional[int] = None) -> "pa.Table":
722722
schema = self._get_positional_deletes_schema()
723723
return pa.Table.from_pylist([], schema=schema)
724724

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

728728
schemas = self.tbl.schemas()

0 commit comments

Comments
 (0)