Skip to content

Commit 39acc8f

Browse files
committed
docs: fix duplicate words in pagination docstrings
Signed-off-by: Lichao Chen <lichao_chen@outlook.com>
1 parent d2956ff commit 39acc8f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

replicate/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def list(self, cursor: Union[str, "ellipsis", None] = ...) -> Page[Model]: # no
163163
Parameters:
164164
cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`.
165165
Returns:
166-
Page[Model]: A page of of models.
166+
Page[Model]: A page of models.
167167
Raises:
168168
ValueError: If `cursor` is `None`.
169169
"""
@@ -190,7 +190,7 @@ async def async_list(
190190
Parameters:
191191
cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`.
192192
Returns:
193-
Page[Model]: A page of of models.
193+
Page[Model]: A page of models.
194194
Raises:
195195
ValueError: If `cursor` is `None`.
196196
"""

replicate/prediction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def list(self, cursor: Union[str, "ellipsis", None] = ...) -> Page[Prediction]:
303303
Parameters:
304304
cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`.
305305
Returns:
306-
Page[Prediction]: A page of of predictions.
306+
Page[Prediction]: A page of predictions.
307307
Raises:
308308
ValueError: If `cursor` is `None`.
309309
"""
@@ -332,7 +332,7 @@ async def async_list(
332332
Parameters:
333333
cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`.
334334
Returns:
335-
Page[Prediction]: A page of of predictions.
335+
Page[Prediction]: A page of predictions.
336336
Raises:
337337
ValueError: If `cursor` is `None`.
338338
"""

0 commit comments

Comments
 (0)