From 39acc8f7279caf23db50e6a984aa5e098d5b6e13 Mon Sep 17 00:00:00 2001 From: Lichao Chen Date: Sun, 12 Jul 2026 10:04:18 -0700 Subject: [PATCH] docs: fix duplicate words in pagination docstrings Signed-off-by: Lichao Chen --- replicate/model.py | 4 ++-- replicate/prediction.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/replicate/model.py b/replicate/model.py index a52459e..da3d2bd 100644 --- a/replicate/model.py +++ b/replicate/model.py @@ -163,7 +163,7 @@ def list(self, cursor: Union[str, "ellipsis", None] = ...) -> Page[Model]: # no Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Model]: A page of of models. + Page[Model]: A page of models. Raises: ValueError: If `cursor` is `None`. """ @@ -190,7 +190,7 @@ async def async_list( Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Model]: A page of of models. + Page[Model]: A page of models. Raises: ValueError: If `cursor` is `None`. """ diff --git a/replicate/prediction.py b/replicate/prediction.py index b4ff047..3e01b39 100644 --- a/replicate/prediction.py +++ b/replicate/prediction.py @@ -303,7 +303,7 @@ def list(self, cursor: Union[str, "ellipsis", None] = ...) -> Page[Prediction]: Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Prediction]: A page of of predictions. + Page[Prediction]: A page of predictions. Raises: ValueError: If `cursor` is `None`. """ @@ -332,7 +332,7 @@ async def async_list( Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Prediction]: A page of of predictions. + Page[Prediction]: A page of predictions. Raises: ValueError: If `cursor` is `None`. """