Skip to content

Commit

Permalink
API: ls support last_modified property
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 26, 2024
1 parent 50c2322 commit cd1b82b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tosfs/tests/test_fsspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ def test_find(fsspecfs: Any, bucket: str, temporary_workspace: str):
def remove_last_modification_time_ms(data):
if isinstance(data, dict):
for key in data:
if "last_modification_time_ms" in data[key]:
del data[key]["last_modification_time_ms"]
if "LastModified" in data[key]:
del data[key]["LastModified"]
return data

file1_path = f"{bucket}/{temporary_workspace}/file1"
Expand Down

0 comments on commit cd1b82b

Please sign in to comment.