From 19e5ce6129219809ee71538f1a4682f7ada228fa Mon Sep 17 00:00:00 2001 From: Lichao Chen Date: Sun, 19 Jul 2026 10:04:30 -0700 Subject: [PATCH 1/2] replicate: fix pagination docstrings Signed-off-by: Lichao Chen --- replicate/collection.py | 4 ++-- replicate/model.py | 4 ++-- replicate/prediction.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/replicate/collection.py b/replicate/collection.py index 1a54586c..c339aecf 100644 --- a/replicate/collection.py +++ b/replicate/collection.py @@ -72,7 +72,7 @@ def list( Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Collection]: A page of of model collections. + Page[Collection]: A page of model collections. Raises: ValueError: If `cursor` is `None`. """ @@ -99,7 +99,7 @@ async def async_list( Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Collection]: A page of of model collections. + Page[Collection]: A page of model collections. Raises: ValueError: If `cursor` is `None`. """ diff --git a/replicate/model.py b/replicate/model.py index a52459e9..da3d2bdd 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 b4ff047a..3e01b395 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`. """ From 5f4c42a6e0f78bd00849d7abc14343c5a7bec006 Mon Sep 17 00:00:00 2001 From: Lichao Chen Date: Thu, 23 Jul 2026 21:25:33 -0700 Subject: [PATCH 2/2] chore: trigger CI