Skip to content

Commit 00e2f44

Browse files
committed
small fix
1 parent fc98648 commit 00e2f44

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
@@ -252,10 +252,10 @@ def __str__(self) -> str:
252252

253253
@staticmethod
254254
@lru_cache
255-
def _manifests(io: FileIO, manifest_list: str) -> List[ManifestFile]:
255+
def _manifests(io: FileIO, manifest_list: Optional[str]) -> List[ManifestFile]:
256256
"""Return the manifests for the given snapshot."""
257257
if manifest_list not in (None, ""):
258-
file = io.new_input(manifest_list)
258+
file = io.new_input(manifest_list) # type: ignore
259259
return list(read_manifest_list(file))
260260
return []
261261

0 commit comments

Comments
 (0)