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