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.
1 parent fc98648 commit 00e2f44Copy full SHA for 00e2f44
pyiceberg/table/snapshots.py
@@ -252,10 +252,10 @@ def __str__(self) -> str:
252
253
@staticmethod
254
@lru_cache
255
- def _manifests(io: FileIO, manifest_list: str) -> List[ManifestFile]:
+ def _manifests(io: FileIO, manifest_list: Optional[str]) -> List[ManifestFile]:
256
"""Return the manifests for the given snapshot."""
257
if manifest_list not in (None, ""):
258
- file = io.new_input(manifest_list)
+ file = io.new_input(manifest_list) # type: ignore
259
return list(read_manifest_list(file))
260
return []
261
0 commit comments