Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko authored Jan 30, 2025
1 parent 8537bd4 commit 65395c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pyiceberg/table/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,3 @@ def _construct_without_validation(table_metadata: TableMetadata) -> TableMetadat
return TableMetadataV3.model_construct(**dict(table_metadata))
else:
raise ValidationError(f"Unknown format version: {table_metadata.format_version}")


TableMetadata = Annotated[Union[TableMetadataV1, TableMetadataV2, TableMetadataV3], Field(discriminator="format_version")] # type: ignore

0 comments on commit 65395c1

Please sign in to comment.