Skip to content

Commit 5c37406

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyiceberg/view/metadata.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class SQLViewRepresentation(IcebergBaseModel):
3636
"""The dialect of the SQL, e.g. `spark`, `trino`, `presto`."""
3737

3838

39+
class ViewRepresentation(BaseModel):
40+
__root__: SQLViewRepresentation
41+
42+
3943
class ViewVersion(IcebergBaseModel):
4044
"""A version of the view definition."""
4145

0 commit comments

Comments
 (0)