Skip to content

Commit

Permalink
fix: type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
roeap committed Mar 23, 2023
1 parent 46f1b1a commit db24d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object-store/object_store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def delete(self, location: PathLike) -> None:
"""
return super().delete(_as_path(location))

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

0 comments on commit db24d42

Please sign in to comment.