Skip to content

Commit c5e3450

Browse files
committed
clean
1 parent 830dc44 commit c5e3450

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎pyiceberg/io/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def create(self, overwrite: bool = False) -> OutputStream:
274274

275275
@dataclass(frozen=True)
276276
class FileEntry:
277-
"""Metadata only for a single file."""
277+
"""Metadata of a single file."""
278278

279279
location: str
280280
size: int

‎pyiceberg/io/fsspec.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,6 @@ def list_prefix(self, location: str) -> Iterator[FileEntry]:
511511
scheme = "" if _is_local_path(location) else uri.scheme
512512

513513
for path, info in fs.find(location, detail=True).items():
514-
if info.get("type", "file") != "file":
515-
continue
516-
517514
mtime = info.get("mtime") or info.get("LastModified") or info.get("last_modified")
518515
last_modified: datetime | None
519516
if isinstance(mtime, datetime):

0 commit comments

Comments
 (0)