From 4e3af1eb6e30d33b214daade30830335524cb4ef Mon Sep 17 00:00:00 2001 From: Jiakai Li Date: Sat, 7 Dec 2024 11:31:46 +1300 Subject: [PATCH] Fix linting --- pyiceberg/manifest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyiceberg/manifest.py b/pyiceberg/manifest.py index e2352abca6..a56da5fc05 100644 --- a/pyiceberg/manifest.py +++ b/pyiceberg/manifest.py @@ -30,7 +30,7 @@ Optional, Tuple, Type, - Union + Union, ) from cachetools import LRUCache, cached @@ -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