Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
get_pods()andget_endpoints()promise all resources but return only the first REST v2 page. Accounts with additional pages silently lose pods or serverless endpoints from these lists.Follow
pagination.hasNextPageandnextCursorthrough a shared private loop, matching the CLI's existing behavior for the same endpoints. Every request retains the API key and uses the existing REST transport, so later-page errors propagate.Six regressions use the public SDK functions and a local HTTP server. On main (
a677ee9), three truncate the list and three miss a second-page 503. After the fix, 109 related tests and the full suite (2,739 tests + 6 subtests, 94.28% coverage) pass on Python 3.12.8.Validation
pytest -o addopts= -q tests/test_api/test_ctl_commands.py tests/test_api/test_rest.py: 109 passed.pytest -q: 2,739 passed, 6 subtests passed; the configured 90% coverage gate passes.git diff --checkpass. No live RunPod API or paid resources were used.