Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakai-li committed Dec 6, 2024
1 parent 751c24b commit 4e3af1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyiceberg/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Optional,
Tuple,
Type,
Union
Union,
)

from cachetools import LRUCache, cached
Expand Down Expand Up @@ -101,7 +101,7 @@ class FileFormat(str, Enum):
@classmethod
def _missing_(cls, value: object) -> Union[None, str]:
for member in cls:
if getattr(member, "value") == str(value).upper():
if member.value == str(value).upper():
return member
return None

Expand Down

0 comments on commit 4e3af1e

Please sign in to comment.