diff --git a/pyiceberg/manifest.py b/pyiceberg/manifest.py index 598d88cdd8..5a32a6330c 100644 --- a/pyiceberg/manifest.py +++ b/pyiceberg/manifest.py @@ -94,16 +94,9 @@ def __repr__(self) -> str: class FileFormat(str, Enum): - AVRO = "AVRO", "avro" - PARQUET = "PARQUET", "parquet" - ORC = "ORC", "orc" - - def __new__(cls, value: str, *value_aliases: List[str]) -> "FileFormat": - obj = str.__new__(cls) - obj._value_ = value - for alias in value_aliases: - cls._value2member_map_[alias] = obj - return obj + AVRO = "AVRO" + PARQUET = "PARQUET" + ORC = "ORC" @classmethod def _missing_(cls, value: object) -> Union[None, str]: