MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / _paginate_cursor

Method _paginate_cursor

python/src/cmdop/resources/base.py:57–77  ·  view source on GitHub ↗

Yield each cursor page; follow ``next_cursor`` until exhausted. Works over both ``MachineList`` (next_cursor + has_more) and ``ScheduleRunList`` (next_cursor only).

(
        self,
        fetch_page: Callable[[str | None], Awaitable[Any]],
    )

Source from the content-addressed store, hash-verified

Callers 2

pages_runsMethod · 0.80
pagesMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected