Skip to content

Commit 92cec6f

Browse files
AniketsyFokko
andauthored
Update pyiceberg/expressions/__init__.py
Co-authored-by: Fokko Driesprong <fokko@apache.org>
1 parent 77e00b2 commit 92cec6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyiceberg/expressions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def as_bound(self) -> Type[BoundNotNaN[L]]:
562562

563563

564564
class SetPredicate(UnboundPredicate[L], IcebergBaseModel, ABC):
565-
type: str = Field(default="in", alias="type")
565+
type: TypingLiteral["in", "not-in"] = Field(default="in", alias="type")
566566
literals: Set[Literal[L]] = Field(alias="items")
567567

568568
def __init__(self, term: Union[str, UnboundTerm[Any]], literals: Union[Iterable[L], Iterable[Literal[L]]]):

0 commit comments

Comments
 (0)