Skip to content

Commit 43a2f35

Browse files
committed
small fix
1 parent 0705e6a commit 43a2f35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyiceberg/table/snapshots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,10 @@ def __str__(self) -> str:
250250

251251
@staticmethod
252252
@lru_cache
253-
def _manifests(io: FileIO, manifest_list: str) -> List[ManifestFile]:
253+
def _manifests(io: FileIO, manifest_list: Optional[str]) -> List[ManifestFile]:
254254
"""Return the manifests for the given snapshot."""
255255
if manifest_list not in (None, ""):
256-
file = io.new_input(manifest_list)
256+
file = io.new_input(manifest_list) # type: ignore
257257
return list(read_manifest_list(file))
258258
return []
259259

0 commit comments

Comments
 (0)