Skip to content

Commit db24d42

Browse files
committed
fix: type annotation
1 parent 46f1b1a commit db24d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object-store/object_store/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def delete(self, location: PathLike) -> None:
9696
"""
9797
return super().delete(_as_path(location))
9898

99-
def list(self, prefix: Optional[PathLike] = None) -> list[ObjectMeta]:
99+
def list(self, prefix: Optional[PathLike] = None) -> List[ObjectMeta]:
100100
"""List all the objects with the given prefix.
101101
102102
Prefixes are evaluated on a path segment basis, i.e. `foo/bar/` is a prefix

0 commit comments

Comments
 (0)