Skip to content

Commit

Permalink
HL Python SDK: Fix objects() return type (#8154)
Browse files Browse the repository at this point in the history
  • Loading branch information
N-o-Z authored Sep 10, 2024
1 parent f780772 commit 22cc14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/python-wrapper/lakefs/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def objects(self,
after: Optional[str] = None,
prefix: Optional[str] = None,
delimiter: Optional[str] = None,
**kwargs) -> Generator[StoredObject | CommonPrefix]:
**kwargs) -> Generator[ObjectInfo | CommonPrefix]:
"""
Returns an object generator for this reference, the generator can yield either a StoredObject or a CommonPrefix
Returns an object generator for this reference, the generator can yield either a ObjectInfo or a CommonPrefix
object depending on the listing parameters provided.
:param max_amount: Stop showing changes after this amount
Expand Down

0 comments on commit 22cc14c

Please sign in to comment.