Skip to content

Commit 4392e29

Browse files
AniketsyFokko
andauthored
Update pyiceberg/expressions/__init__.py
Co-authored-by: Fokko Driesprong <fokko@apache.org>
1 parent 8211bd0 commit 4392e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/expressions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def as_unbound(self) -> Type[NotIn[L]]:
685685

686686

687687
class In(SetPredicate[L]):
688-
type: str = Field(default="in", alias="type")
688+
type: Literal["in"] = Field(default="in", alias="type")
689689

690690
def __new__( # type: ignore # pylint: disable=W0221
691691
cls, term: Union[str, UnboundTerm[Any]], literals: Union[Iterable[L], Iterable[Literal[L]]]

0 commit comments

Comments
 (0)