We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FileFormat
1 parent 4e75599 commit 0c06f15Copy full SHA for 0c06f15
pyiceberg/manifest.py
@@ -94,16 +94,9 @@ def __repr__(self) -> str:
94
95
96
class FileFormat(str, Enum):
97
- AVRO = "AVRO", "avro"
98
- PARQUET = "PARQUET", "parquet"
99
- ORC = "ORC", "orc"
100
-
101
- def __new__(cls, value: str, *value_aliases: List[str]) -> "FileFormat":
102
- obj = str.__new__(cls)
103
- obj._value_ = value
104
- for alias in value_aliases:
105
- cls._value2member_map_[alias] = obj
106
- return obj
+ AVRO = "AVRO"
+ PARQUET = "PARQUET"
+ ORC = "ORC"
107
108
@classmethod
109
def _missing_(cls, value: object) -> Union[None, str]:
0 commit comments