Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Paginator use (post merge)
Browse files Browse the repository at this point in the history
schloerke committed Dec 13, 2024
1 parent 1ab80f6 commit de976f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/posit/connect/resources.py
Original file line number Diff line number Diff line change
@@ -167,8 +167,7 @@ def find_by(self, **conditions) -> Any | None:

class _PaginatedResourceSequence(_ResourceSequence):
def fetch(self, **conditions):
url = self._ctx.url + self._path
paginator = Paginator(self._ctx.session, url, dict(**conditions))
paginator = Paginator(self._ctx, self._path, dict(**conditions))
for page in paginator.fetch_pages():
resources = []
results = page.results

0 comments on commit de976f3

Please sign in to comment.