Skip to content

Commit ff948b1

Browse files
rambleraptorsungwy
andauthored
Update pyiceberg/view/metadata.py
Co-authored-by: Sung Yun <107272191+sungwy@users.noreply.github.com>
1 parent afe93e0 commit ff948b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/view/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ViewMetadata(IcebergBaseModel):
6969

7070
view_uuid: str = Field(alias="view-uuid")
7171
"""A UUID that identifies the view, generated when the view is created."""
72-
format_version: Literal[1] = Field(alias="format-version")
72+
format_version: int = Field(alias='format-version', ge=1, le=1)
7373
"""An integer version number for the view format; must be 1"""
7474
location: str = Field()
7575
"""The view's base location; used to create metadata file locations"""

0 commit comments

Comments
 (0)