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

Commit 94f4d9b

Browse files
odp-1382: fix the pagination issue and rename limit.
1 parent 8dfab1a commit 94f4d9b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/sdk/odp/client/raw_storage_client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,10 @@ def list_paginated(
106106
params["page_size"] = page_size
107107
if limit & limit != 1000:
108108
from warnings import warn
109-
warn("limit argument will be deprecated, you should use page_size instead",
110-
DeprecationWarning,
111-
stacklevel=2)
109+
110+
warn(
111+
"limit argument will be deprecated, you should use page_size instead", DeprecationWarning, stacklevel=2
112+
)
112113

113114
response = self.http_client.post(url, params=params, content=metadata_filter)
114115

0 commit comments

Comments
 (0)