Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 2152766

Browse files
odp-1382: assign limit = 0.
1 parent 94f4d9b commit 2152766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sdk/odp/client/raw_storage_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def list_paginated(
8181
metadata_filter: Optional[Dict[str, Any]] = None,
8282
cursor: Optional[str] = None,
8383
page_size: int = 1000,
84-
limit: int = 1000,
84+
limit: int = 0,
8585
) -> Tuple[List[FileMetadataDto], str]:
8686
"""List page
8787
@@ -104,7 +104,7 @@ def list_paginated(
104104
params["page"] = cursor
105105
if page_size:
106106
params["page_size"] = page_size
107-
if limit & limit != 1000:
107+
if limit:
108108
from warnings import warn
109109

110110
warn(

0 commit comments

Comments
 (0)